We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4750
    • 28 Posts
    I am looking how to do a wayfinder with a menu that when the user clicks on a sub section only that menu is show with the main holder page at the start.

    eg.
    menuitem1
    menuitem2
    menuitem3
    --submenu3item1
    --submenu3item2
    menuitem4
    --submenu4item1
    --submenu4item2

    if the user clicks on menuitem 3 then on this sections the menu should look like this:
    menuitem3 submenu3item1 submen3uitem2

    cbartgu,
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Use Wayfinder calls with [[UltimateParent]] snippet tags for the &startId value; also have &showStart=`1` to display the parent (by default in <h2> tags). See Wayfinder documentation for examples on how to make the tpl chunks to format the various elements of the menu structure.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4750
        • 28 Posts
        Ok, got it to show the parent in the <h2> tags, thanks, but going through the wayfinder examples I cannot get it to put the parent inside the ul li tags and be like the children,

        Could anyone help with that?

        cbartgu,
          • 26931
          • 2,314 Posts