We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25046
    • 194 Posts
    I am trying to create a standard main menu for my template and I believe that Wayfinder what I should use. However, when I open this snippet I am not clear as to what to do. I tried checking the Execute Snippet after Saving box however I get a couple of errors. Am I going about this wrong? Thanks
      • 25663 MODX Staff
      • 12,272 Posts
      You just put Wayfinder in your page or your template more likely where you want it to generate menus like the following:

      [[Wayfinder? &startID=`1`]] 


      where 1 is the container document that you want it to start building from. If you want it to start from the top level, that would be a 0. Please pay attention that those are backticks, and not single-quotes, too. Good luck!
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 28676
        • 136 Posts
        Are you having trouble installing the script? is that what you are asking about?
          I made my first site with modx
          ------------------------
          http://www.shop-bright.com | Uk shopping blog