How can I generate a variable second level menu in MODx. Or third level for that matter.
For example my first level menu might be...
Home | Products | Resources | About Us
Then my second level menus might be (somewhere else on the page)...
Products:
- Product 1
- Product 2
- Product 3
Resources:
- Resource 1
- Resource 2
- Resource 3
So from the first level menu if I click on Products, how do I get Wayfinder or whatever to just display the second levels. Whether it be Products, Resources, or others.
I thought maybe the use of the UltimateParrent snippet might be required, but I couldn’t figure out how to feed the UltimateParrent output into the WayFinder startID tag.
Oh thanks. I was missing the uncached option when I tried it the first time.
Ok. So UltimateParent is counting up from the current document by however many levels. Rather than finding the top of the lineage and counting down the specified levels. I wonder how hard it would be to upgrade the algorithm to count from either direction.
I am having the same type of problem but i got ultimate parent working but i also want do display the ultimate parent name above the wayfinder menu
is there a way using for example getpagetile where id= ultimate parent. to be able to display something like:
[ultimate Parent Name] Menu
Products
-item 1
-item 2
Services
- service 1
-service 2