We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21055
    • 2 Posts
    Hi all,
    I am trying to create a website with Modx,and everything works fine.
    Besides Wayfinder i want to create a second menu on the right side to be displayed only in a certain webpage
    For example in the original Modx Wayfinder menu, in the link"Templates" there are 3 more sublinks,
    ("ModxHost", "ModxWide" , and "ModxCSS") i want to display a second menu in the right side bar when i click "ModxCSS", not in the other two.
    I’ve created a chunk, but this chunked displayed in the entire website.

    Thank you.

    Regards

    "NcloSe"
      • 25307
      • 114 Posts
      Create another menu in the 2nd template by adding another wayfinder snippet call. So, in the template that you wish to have 2 menus, there will be 2 wayfinder calls. Try that.
        • 21055
        • 2 Posts
        Thank you Robot,
        but i have tried this and i have 2 wayfinders, with the same menu links.
        I want the second wayfinder to dispaly different menu links

        Regards
          • 7231
          • 4,205 Posts
          You need to set the second wayfinder to start at the id of the parent document so that it will show the contents of that document container.

          [!Wayfinder? &startId=`put_parent_ID_here`!]

          You can automate this by using other tags like ’parent’ or by using the UltimateParent or SectionRoots snippets.
            [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

            Something is happening here, but you don't know what it is.
            Do you, Mr. Jones? - [bob dylan]