We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30672
    • 180 Posts
    hi everybody!

    i’m new in modx, i have read a lot of tutorials, and modx is not so complicated, but:

    i used this article for creating a drop-down menu with 2 levels :

    http://wiki.modxcms.com/index.php/Accordion_menu_with_Wayfinder_using_JQuery

    it works great, no problem.

    Does anyone knows how to add a third level to this menu, or know another tutorial on how to achieve this?

    thanks for your ansers, and long live to modx!
      • 13094
      • 58 Posts
      did you try to increase the level wayfinder is crawling into your hierarchy?

      also I never used this combination, I would first set the &level param to 3 (or more) assuming that jQuery is clever enough to handle the new depth.

      [!Wayfinder? &startId=`0` &level=`3` ... !]

      probably you’ll have to fix the CSS for the submenu submenu selectors.

      happy coding wink
        • 30672
        • 180 Posts
        as i said, modx is simple ! laugh

        it works, but right, i will have to manage CSS to make it clear it is the third level !

        thank you very much for your help!


        and maybe this tip should be added to the tutorial !
          • 30672
          • 180 Posts
          it’s not se easy finaly grin

          if someone has allready done that kind of thing with this menu, his help will be great !

          thanks!
            • 26931
            • 2,314 Posts
            if someone has allready done that kind of thing with this menu, his help will be great !
            maybe this helps: http://bit.ly/dxP33B
              • 30672
              • 180 Posts
              thank you, i will try it right now !
                • 30672
                • 180 Posts
                Perfect ! wink
                  • 30672
                  • 180 Posts
                  just one little problem with this menu:

                  the page that has the "rel=category" to make it the container of sub-pages cannot be displayed.
                  is there something to make it viewable?

                  thanks!
                    • 26931
                    • 2,314 Posts
                    the page that has the "rel=category" to make it the container of sub-pages cannot be displayed.
                    is there something to make it viewable?
                    no, i don’t think so. afaik that’s how all javascript accordions work
                      • 30672
                      • 180 Posts
                      ok...

                      and with your fancypant menu, is it the same?