Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • yeahright 7 posts 27 karma points
    Jul 05, 2010 @ 22:35
    yeahright
    0

    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!

  • Rich Green 2246 posts 4008 karma points
    Jul 06, 2010 @ 00:04
    Rich Green
    0

    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

     

     

Please Sign in or register to post replies

Write your reply to:

Draft