Hi,
I am trying to create 2 menus on the left column of my site and I have no idea how to implement the second one.
Need a starting point at least.
Thank You
You can duplicate your Wayfinder call and configure it for the second menu.
René
[[Wayfinder? &startId=`0` &level=`1` &excludeDocs=`6,48`]]
[[Wayfinder? &startId=`0` &level=`1` &includeDocs=`6,48`]]
Isn’t there another way? This method is not to elegant.
-
☆ A M B ☆
- 24,524 Posts
If you want two
identical menus, you can set the output of a Wayfinder call to be a placeholder, then use that placeholder wherever you want the menus to appear.
&ph name of a placeholder to set instead of directly retuning the output results
So you would add this to your Wayfinder snippet call (it won’t put anything where it’s called):
then put this in your HTML where you want the menu:
Maybe you can solve that by creating two folders, one for the docs 1 - 100, the other for the docs > 100. That way, you can reference the folder in your wayfinder call, and everything that is added to the > 100 folder is displayed in the menu automatically.
René
-
☆ A M B ☆
- 24,524 Posts
Yes, that Tree structure really serves no other purpose than to organize your menus. And if it really gets complicated, you can use TVs and use Ditto with a simple display template as a filtered menu.