I’m using MODX Revolution 2.1.1-pl (traditional) with Wayfinder 2.3.1, and I’m having a problem with &hideSubMenus.
I want several menus on the same page, and at one point I actually got it working for one of the menus but not the others although they’re more or less identical, but now the exact same call won’t work with the first menu either...!
The problem is when I add &hideSubMenus to the call(s). As soon as I add it, the whole menu disappears, not just the sub pages! I tried a range of different things, and it seems that &hideSubMenus=`0` doesn’t make the menu disappear, but when I add any of &hideSubMenus=`1`, &hideSubMenus=`TRUE`, &hideSubMenus=`true`, &hideSubMenus=`FALSE` or &hideSubMenus=`false` it does. Very odd.
Logically, this should display the top level pages in the folders 208 and 209, and when one of those pages are active the sub pages should show, right?
[[Wayfinder? &startId=`208` &level=`0` &hideSubMenus=`TRUE`]]
[[Wayfinder? &startId=`209` &level=`0` &hideSubMenus=`TRUE`]]
I also tried calling Wayfinder uncached and also clearing the cache, but it doesn’t make any difference.
This is doing my head in, and my client is getting annoyed, so any help would be much appreciated!