We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17717
    • 433 Posts
    Hi all,

    Just wondering if it possible to use modxcms to create a two tier menu system. So, click say news on the horizontal menu bar will display latest news and archived news in the right column.... just an example.

    Kind find out how to do this out of the box, maybe somebody could help.

    Thanks
    Lee
      http://www.blend.uk.com | Web Design by Blend
      • 17717
      • 433 Posts
      Found this but its not in English sad
        http://www.blend.uk.com | Web Design by Blend
        • 17717
        • 433 Posts
        Can this not be done then?

        Thanks
        Lee
          http://www.blend.uk.com | Web Design by Blend
          • 7923
          • 4,213 Posts
          It can be done, but I don’t understand your question. Please explain more what you want to do.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 17717
            • 433 Posts
            Thanks, yes, I started with MODx last week and I think how I have done some things upto now could be improved. With the menu system, I was wondering if it was possible to have sub folders automatically display as submenus on my site. I have used another CMS that does this and it just got me working, what I would do with the other CMS would this:

            Create a main menu item, say Portfolio, then create a menu item that is the child of Portfolio, say Print and Web, a lot depended on the CSS to get it to display right but basically, you could assign parent and child menu items.

            I have the menu look exactly how I want it at the minute, but, because I need to try and turn my site around fast, I have basically manually added my menu to my template rather than have it automatically generated by the CMS. I will be making a lot of changes to the site to make it more dynamic, I just had to get my site up and running with MODx because it looks damm cool.

            Thanks
            Lee
              http://www.blend.uk.com | Web Design by Blend
              • 7455
              • 2,204 Posts
              You can use dropmenu for that
              just use 2 versions or use listglobal and listchildorsibs.
              lots of posebilities you can use sectionroots to set id’s for dropmenu or other menu snippets ore use ultimateparent snippet to set root id’s etc. etc.

                follow me on twitter: @dimmy01
                • 17717
                • 433 Posts
                Nice. Thats deffo top of my list now once the site goes live.

                Thanks for that
                Lee
                  http://www.blend.uk.com | Web Design by Blend
                  • 7923
                  • 4,213 Posts
                  Better to use Wayfinder with ultimateparent etc. snippets (if you need them)

                  But if you want to do a top menu for example what only list the first level, use &level=`1` parameter in the wayfinder call. Then if you want to do a sidebar submenu, use &startId=`[[UltimateParent]]` in the wayfinder call (get that UltimateParent snippet also).


                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 17717
                    • 433 Posts
                    Sounds good, I actually looked at Wayfinder a couple of days ago, got it installed, will have a play around with it.

                    Thanks
                    Lee
                      http://www.blend.uk.com | Web Design by Blend