Copied to clipboard

Flag this post as spam?

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


  • James Hammond 2 posts 22 karma points
    Feb 15, 2011 @ 23:13
    James Hammond
    0

    Hidden page (Hidden from Navi and Sitemap)

    I'm currently working on a set of documentation for my company and we have loads of pages on compatibility of various devices.

    Garmin

     

    • Edge 205
    • Edge 305
    • etc
    Timex
    • Global Trainer
    • etc
    Currently, our page is setup such that navigation is on the right side in a tree format like above.  What we want to do is hide the child pages (Edge 305, Global Trainer) in the menu and have users get to them through the parent pages (Garmin, Timex).  I've tried enabling the checkbox Hidden page (Hidden from Navi and Sitemap), but that doesn't seem to be doing the job.
    Is what I'm after possible?
    Thanks!
    James

     

     

  • Richard Soeteman 4054 posts 12927 karma points MVP 3x
    Feb 16, 2011 @ 10:41
    Richard Soeteman
    0

    Hi James,

    This is very well possible. I think umbracoNaviHide is included in your filter like in the example below.

    <xsl:for-each select="$currentPage/ancestor-or-self::* [@level=$level]/* [@isDoc and string(umbracoNaviHide) != '1']">

    Cheers,

    Richard
     

  • James Hammond 2 posts 22 karma points
    Feb 16, 2011 @ 16:33
    James Hammond
    0

    Firstly, thanks for such a quick reply Richard!

    Second, I apologzie for my newbness, but where do I add that string of code in to umbroco?  I've inheretied this project and am totally new to this CMS.

    Thanks in advance!

    James

  • Kim Andersen 1447 posts 2197 karma points MVP
    Feb 20, 2011 @ 13:07
    Kim Andersen
    0

    Hi James.

    The menu is probably created using a XSLT file. So try going to the Developer section in Umbraco, and open up the XSLT-folder. Is there any file called something like Menu, Top Navigation, Main Navigation or something like that? If there is, could you provide us with the code from that file?

    /Kim A

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies