We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2191
    • 64 Posts
    I’m a Modx total newb, but hopefully catching on. wink Some of those snippets are simply breathtakingly easy... but to get to the point. The Wayfinder snippet is working fine for me to display my top level of menu links. But what I want to do is make two menus-- with different links in each. Is there an easy way to do this?
      • 15987
      • 786 Posts
      All you have to do is call the snippet twice and set the startId to something different for each one.
        • 29076
        • 615 Posts
        Like this exsample I use on my site:

        [[Wayfinder? &startId=`2` &parentClass=`show` &outerTpl=`menyOuterTpl` &innerTpl=`menyInnerTpl` &rowTpl=`menyRowTpl` &parentRowTpl=`menyParentRowTpl` ]]




        [!Wayfinder? &startId=`26` &parentClass=`show` &outerTpl=`menyOuterTpl` &innerTpl=`menyInnerTpl` &rowTpl=`menyRowTpl` &parentRowTpl=`menyParentRowTpl` !]
          I think, thererfor I am! But what I am, and why...?
          • 2191
          • 64 Posts
          And the start ID does what? Is it the menu index or the page ID?
            • 15987
            • 786 Posts
            the startId is where the menu should be built from. so all of the pages underneath the startId will be added to the menu.
              • 2191
              • 64 Posts
              Great. Thanks alot.
                • 2191
                • 64 Posts
                Ok. idk. maybe i’m just not getting it. but what i’m trying to do is list pages with IDs 0-10 in the first menu, and page ids 11-14 in the second. so is this how i should do it?
                <h2>Menu:</h2>
                	[[Wayfinder? &startId=`10` &level=`1` ]]
                <h2>Other:</h2>
                	[!Wayfinder? &startId=`14` &level=`1` ]]

                  • 2191
                  • 64 Posts
                  gentle bump. i’d really like an answer.
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Stick 0-10 in a folder. Stick 11-14 in another folder. Use the IDs of those two folders as your startId parameters.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me