We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12565
    • 8 Posts
    I have installed the latest version of Wayfinder and am using it as a left hand navigations for sub pages.
    I want to be able to begin the navigation based on it’s parent page - seems like a really simple thing to do, but am totally going round in circles.

    Can someone please help - I’ve looked at the wiki and the example on muddydogpaws and i’m lost!

    undecided
      • 4310
      • 2,310 Posts
      For a simple site with just two levels for the sub menu try :
      [[Wayfinder? &startId=`[*parent*`]]

      For more than two levels you will need to use :
      [!Wayfinder? &startId=`[[UltimateParent? &topLevel=`2`]]`!]
        • 12565
        • 8 Posts
        Hi there,

        That’s fixed it for the top level, but when I select a link and go to that page the navigation vanishes altogether.

        Any ideas?
          • 4310
          • 2,310 Posts
          I’m not sure I understand what you mean.
          Do you have a link or if not post your document structure.
          If you have two menus, one for the top level pages (main Menu) and one for child pages (sub menu) then :
          [[Wayfinder? &startId=`0` &level=`1`]]
          (main Menu)
          [[Wayfinder? &startId=`[*parent*`]]
          (sub menu)
          Should output an unordered list for the main menu & if there are any child pages another for the sub menu.
            • 12565
            • 8 Posts
            Hi there,

            The site I’m working on is - http://64.20.54.34/~dams/

            The top level links {home : about : what’s on :...} are hand coded, not in wayfinder. When you select one of them I’d like it to only show the links below that specific section - about has two pages at the moment.

            But when you select one of the links under about - the navigation vanishes.

            I’ll try your latest suggestion and see if that gets me closer.

            Thanks very much for your help! smiley smiley
              • 4310
              • 2,310 Posts
              Okay, I see what you mean.
              Have you got the
              [[Wayfinder? &startId=`[*parent*]`]]
              in the main template for your
              <div id="leftnav">

              It seems as if you have the main Wayfinder call in there, commented out.
                • 12565
                • 8 Posts
                That’s it fixed !! You’re a star - thanks muchly!! wink

                (looking for the send that guy a beer button)
                  • 4310
                  • 2,310 Posts
                  Happy to hear you’ve got it sorted.
                  A beer would’ve been good.