-
- 31 Posts
How can i make a 3 level navigation menu..
my structure:
-Level 1
-Level 1
- Sub1
- Sub2
- Sub2
- Sub2
- Sub1
- Sub1
-Level 1
-
- 2,877 Posts
Click your docs "container" and create docs under them by right click.
Then use [!Wayfinder? &startId=`1` &level=`3`!]
&level=`0` goes through all levels.
[zip]
http://wiki.modxcms.com/images/f/fa/Wayfinder200_docs_v6.zip
-
- 2,877 Posts
That is probably right (my misstake) because doc id 1 has no children... If your
doc with id 1 have children make sure they are "show in menu", published and have a menu name.
Did the &level=`1` and the other parameters you found inside the zip file work for you?
-
- 2,877 Posts
This can be done many ways...
You could add &cssTpl=`name_of_chunk` and use this chunk for your css.
Watch the output html and work with the already in use id and class or specify
your own classnames:
http://wiki.modxcms.com/index.php/Wayfinder#CSS_Class_Name_Parameters
The next level is to make your own templates for the output:
http://wiki.modxcms.com/index.php/Beginner%27s_Guide_to_MODx#The_Navigation_Modifications
http://modxcms.com/forums/index.php/topic,31376.0.html
The zip rocks.
-
- 31 Posts
Thanks for the help.. now i have a multilevel(3) navigation.. (without jquery) with css...
-
- 31 Posts
i have another question..
i have 3level menu..(css flyout menu) is it possible to make my 1level container not "clickable".. when somebody trying not click on parent container..nothing has to show...
is that possible..?
-
- 2,877 Posts
I dunno. I’d just make a static menu then and have multiple calls for chidren under each that could expand. Or have a Wayfinder for the first level
with [+wf.link+] removed from template....