We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17686
    • 5 Posts
    I´d like to make a menu with two wayfinders so the main level pages are shown horizontal and each sublevel pages are shown to the left depending on which mainlevel page you have clicked on.

    So the page would look like this:

    Main 1 Main 2 Main 3 Main 4 Main 5

    Subpage 1.1
    Subpage 1.2
    Subpage 1.3
    Subpage 1.4

    If I click on Main 2 then you would see
    Subpage 2.1
    Subpage 2.2

    I got the mainmenu working with [!Wayfinder?&startId=`4090`&level=1&hereClass=`here`!] and subpages to work with [!Wayfinder? &startID=`[[Parent]]` !]
    but when I click Subpage 1.1 the whole menu disapears as parent changes.

    I´m pretty sure this has been solved on the forum by somebody but could not find the solution.


    Kenneth
      • 21496
      • 225 Posts
      nightsignals Reply #2, 19 years ago
      For the main navigation, I’m using: [[Wayfinder? &startId=`0` &level=`1`]]

      For the subnavigation I make use of the UltimateParent snippet: [!Wayfinder? &startId=`[[UltimateParent]]`!]

      Maybe you need more parameters in your case. By the way, there’s a special section in this forum for Wayfinder: http://modxcms.com/forums/index.php/board,182.0.html
        René
        • 17686
        • 5 Posts
        Thanks nightsignals for the link to the Wayfinder forum, I found the solutions directly when I went to the Wayfinder forum.


        Kenneth