umbraco 4.7 newbie questions about converting website
Hi there, I'm a brand newbian to Umbraco with a test instance of Umbraco 4.7 running with the intent of converting an existing site to 4.7. I'm running into trouble with:
webform routing...how is this done?
lets say i have a url like this mydomain.com/folder/folder1/folder2/folder3/file.aspx -- how does that work in Umbraco. I see how to create a template but how about creating "folders" that are part of a url?
Is there any support for ASP.NET 4.0 REST web services?
Umbraco uses a hierarchical tree. In the tree you can create nodes and child nodes. If you want "folders" that are part of the url you only need to create a child node. For example create this tree:
- folder1 - folder2 - folder3
If you want to open folder3 you can go to mydomain.com/folder1/folder2/folder3.aspx
Jeroen thanks for your reply...what i don't understand is what are you calling "folder1"?
do i need to create a "document type" and matching "template" for each folder?
i guess i don't understand why i would need a "template" for "folder" since the "folder" is simply part of the url path...the folder has no viewable content -- except for the last folder which contains the aspx file.
1.) I create a doc type "folder1" (no base type) 2.) I create a sectond doc type "folder2" (no base type) 3.) I create a third doc type "myfile" of base type "textpage"
I go back to content section to add nodes as such
"folder1" at same level as home. "folder2" as a child of "folder1" and finally "mypage.aspx" as a child of "folder2" What do i get -- three urls as such:
umbraco 4.7 newbie questions about converting website
Hi there,
I'm a brand newbian to Umbraco with a test instance of Umbraco 4.7 running with the intent of converting an existing site to 4.7. I'm running into trouble with:
webform routing...how is this done?
lets say i have a url like this mydomain.com/folder/folder1/folder2/folder3/file.aspx -- how does that work in Umbraco. I see how to create a template but how about creating "folders" that are part of a url?
Is there any support for ASP.NET 4.0 REST web services?
Umbraco uses a hierarchical tree. In the tree you can create nodes and child nodes. If you want "folders" that are part of the url you only need to create a child node. For example create this tree:
- folder1
- folder2
- folder3
If you want to open folder3 you can go to mydomain.com/folder1/folder2/folder3.aspx
Jeroen
Jeroen thanks for your reply...what i don't understand is what are you calling "folder1"?
do i need to create a "document type" and matching "template" for each folder?
i guess i don't understand why i would need a "template" for "folder" since the "folder" is simply part of the url path...the folder has no viewable content -- except for the last folder which contains the aspx file.
I'm going to bump this...
I tried this but it does NOT work.
1.) I create a doc type "folder1" (no base type)
2.) I create a sectond doc type "folder2" (no base type)
3.) I create a third doc type "myfile" of base type "textpage"
I go back to content section to add nodes as such
"folder1" at same level as home. "folder2" as a child of "folder1" and finally "mypage.aspx" as a child of "folder2" What do i get -- three urls as such:
mydomain.com/folder1.aspx
mydomain.com/folder2.aspx
mydomain.com/folder2/mypage.aspx
This is not what i want -- i want "mydomain.com/folder1/folder2/mypage.aspx" Am i the only one that has urls beyond the first level?
You can probably fix this by going to the web.config appSettings and do this:
By default this is true, but if you change it to false folder1 will also be added to your url.
Jeroen
thanks Jeroen! I'm going to give it a shot and reply back
I can confirm that your suggestion works exactly as expected. Thanks Jeroen!!
is working on a reply...