-
- 15 Posts
Hi all,
i’ve used the modxhost template as base for my own template.
In that template they use wayfinder to create the menu with some javascript and CSS.
The basic menu there uses only two levels : main and one sub. For my site i need three levels 1, 1.1 and 1.1.1.
Has anyone done this already and willing to share?
Or has anyone got a simular menu?
thanks
-
- 15 Posts
Hi Sinbad,
Thnx for your reply.
Unfortunatly setting the &level doesn’t change a thing, even if i set the level to 1 or 2.
So i guess that the javascripts have something to do with that:
manager/media/script/mootools/mootools.js
assets/templates/tvb/drop_down_menu.js
manager/media/script/scriptaculous/prototype.js
manager/media/script/scriptaculous/scriptaculous.js
and
moo.fx.js
i find it extra strange that when i modify the wayfinder call to only one level, the second level still appears
-
- 18 Posts
I’m having the same problem so I’m glad you started this thread. I also set the level and that didn’t work. I’ll keep looking and post if I find the solution.
-
- 18 Posts
According to the WayFinder 2.0 snippet, the default is 0 anyways, which would return all levels.
-
- 15 Posts
I think i found a way to do it with the original menu in the modxhost template.
Stupid that i didn’t look at that earlier but this is what is going on:
the wayfinder call and the used javascript actually do build the right lists so the third level is in the code.
But the CSS doesn’t cover the third level and doesn’t display it.
So i’m going to adjust the css and try if i can get that running. If i do, i’ll post it ofcourse.