Hi all, I am working on a dynamic submenu with modx, and it’s going well. Wayfinder is a great tool.
But now I have a wayfinder chunk where I only want to get a childfolder to output its links. Like this :
[MyMainMenu]
|
|---MySubMenu
| |
| ----lots of links folder 1
| |
| ----lots of links folder 2
|
|---MySecondSub
|
-----lots of links folder 1
|
-----lots of links folder 2
So I have wayfinder that outputs MySubmenu, MySecondSub and all links under it, but I *only* want to output the links that are under the folder with the name "lots of links folder 1"
I am currently using a second wayfinder call that works under each mainmenu link, but I fail to get either the ID or the name of "lots of links folder 1"
Thank you for any help, much appreciated!
Have you tried using the UltimateParent snippet for the Wayfinder startId?
[tt][[UltimateParent? &topLevel=`2`]][/tt]