Quote from: nidave at Sep 02, 2008, 03:27 PM
That’s further than I have got so far Thank you very much - been spending hours on this and not got any further to understanding what I am doing . I want to add a different style and an indent to to the List sub items.
ie:
MENU 1
- Menu 1:1
- Menu 1:2
Nidave, have you looked at the downloable wayfinder documentation from the wiki? It really is quite exhaustive with very good explanations about wayfinder version 2. You can get it here:
http://wiki.modxcms.com/index.php/Wayfinder200. (see toward top of page)
Basically, wayfinder will generate an unordered list that will be indented to match any heirarchy present in the MODx document tree. The unordered lists are styled through your CSS.
Is it also possible to have the current menu/page item in a different style?
I think its done by &hereClass=`here`
is here a chunk? or is a class defined in the CSS file?
Yes it is possible. My rule of thumb to remember what is a chunk and what is not is that: if it has anything to do with tpl (template), then it is a chunk

. eg. outertpl. Obviously the chunk will/can have place holders for CSS classes. However, remember that the CSS classes you reference in your wayfinder snippet call must also be present in your CSS file. So, to answer your question, if you have the class `here` like so....
in your wayfinder call, then in your CSS you must have a class called here.
Good luck! Am no expert, just learning more and more everyday
/k