umbracoInternalRedirectId and active state in navigation.
Hi,
Im useing umbracoInternalRedirectId property to internally link to content from an other node. And that is exactly the only thing I wan't it to do, get content from node. Because I wan't the node that I'm linking from to be the active menu item not the one I'm linking to. So I'm wondering if there's a way to get the nodeid for the node I'm redirecting from the set the correct state? Or any other feasable soulution is acceptable, quick answers are welcome due to project deadline (reade me going on vacation) =)
Without knowing your exact set up it's difficult to answer.
Why are you redirecting this piece of content? If you want to show data from another node then you could possibly use something like a content picker and then pick the content from there, then in your XSLT you could check if this value is empty or not and if not then display the content from the node?
OR if you still use umbracoInternalRedirect you maybe able to get some information from the URL (as this will still be relevant to your node) to specify if the state of your menu should be active?
umbracoInternalRedirectId and active state in navigation.
Hi,
Im useing umbracoInternalRedirectId property to internally link to content from an other node. And that is exactly the only thing I wan't it to do, get content from node. Because I wan't the node that I'm linking from to be the active menu item not the one I'm linking to. So I'm wondering if there's a way to get the nodeid for the node I'm redirecting from the set the correct state? Or any other feasable soulution is acceptable, quick answers are welcome due to project deadline (reade me going on vacation) =)
Thank you!
Without knowing your exact set up it's difficult to answer.
Why are you redirecting this piece of content? If you want to show data from another node then you could possibly use something like a content picker and then pick the content from there, then in your XSLT you could check if this value is empty or not and if not then display the content from the node?
OR if you still use umbracoInternalRedirect you maybe able to get some information from the URL (as this will still be relevant to your node) to specify if the state of your menu should be active?
Rich
is working on a reply...