In the webconfig, there is the umbracoHideTopLevelNodeFromPath key wich if is set to false, all paths are relative, now this is great for what I need, the problem is an old section of the website does not function at all when this is activated, but I do need this feature for a specific node. It is possible to achieve this for only one node and it's children? I want the rest of the site to behave as if the umbracoHideTopLevelNodeFromPath is set to true, but one node to behave as if it is set to false.
For instance, I want all children underneath the raffle node to start with the raffle path. But all nodes for the Home node should remain as they are.
Well the 2nd option is interesting Ill try that and ill look into option 1 but from what is seems is looks like a lot of work for something that should be pretty simple, and raffle being under the Home node won't change anything.
Show top level node path only for specific node
In the webconfig, there is the umbracoHideTopLevelNodeFromPath key wich if is set to false, all paths are relative, now this is great for what I need, the problem is an old section of the website does not function at all when this is activated, but I do need this feature for a specific node. It is possible to achieve this for only one node and it's children? I want the rest of the site to behave as if the umbracoHideTopLevelNodeFromPath is set to true, but one node to behave as if it is set to false.
For instance, I want all children underneath the raffle node to start with the raffle path. But all nodes for the Home node should remain as they are.
you can't move the "Raffle" node below the "Home" node? Obviously might need some code tweaks, but would give the correct url?
If that's not an option, I still see two possibilities (not sure if both will work seamlessly though)
Look into IUrlSegment provider/IUrlProvider option to change the url segment/url of the "Raffle" node
Assign a hostname of http(s)://www.domain.com/raffle/ to the "Raffle" node
I'm not entirely sure about the 2nd option, but first option will defo work
--Dirk
Well the 2nd option is interesting Ill try that and ill look into option 1 but from what is seems is looks like a lot of work for something that should be pretty simple, and raffle being under the Home node won't change anything.
is working on a reply...