Copied to clipboard

Flag this post as spam?

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


  • James 8 posts 38 karma points
    Jan 12, 2011 @ 17:09
    James
    0

    forceParent functionality

    Hi there,

    I posted this on the main umbraco xslt developer forum, then realised it might be more appropriate here, sorry for the double posting.

     

    Could anyone please give me some pointers on how I could implement a forceParent option in the COG navigation XSLT?

    Essentially I want the same functionality as forceHome, but instead of showing the highest node (home page) I'd like to show the immediate parent of the selected navigation level

    i.e.  the following structure:

    - Home
      -   Page1
         -   ChildPage1
         -   ChildPage2
         -   ChildPage3

    Would give me the following sub navigation when on Page 1

    Page1
    ChildPage1
    ChildPage2
    ChildPage3

    Hope this makes sense?

    Thanks,
    James

Please Sign in or register to post replies

Write your reply to:

Draft