We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37548
    • 6 Posts
    I am new to modx, I have a top menu and a page specific menu. All the parent menu items must be at the top of the page and the childs of the left of the page. how can i do this with wayfinder. it's not a accordion.
      veni vidi vici
      • 22427
      • 793 Posts
      For the top menu try this Wayfinder call:
      [[!Wayfinder? &startId=`0` &level=`1`]]

      (assumed that your homepage has id = 0 ). The parameter &level=`1` restricts the output to just one level, so you won't see any submenus here.

      For the side menu you need an own Wayfinder call - try this one:
      [[!Wayfinder? &startId=`[[*id]]` &hideSubMenus=`1`]]

      Using
      &startId=`[[*id]]`
      this menu displays the children of the actual page.
      Try the effect of changing &hideSubMenus=`1` to &hideSubMenus=`0`.

      Good luck - and welcome to MODX!
        • 37548
        • 6 Posts
        Thanks for the solution Ottogal,

          veni vidi vici