I just wonder...I am making a website which has 7 subsection in the site. each section has its own templates because each one look slightly different from others. How can I add wayfinder in this case? i mean, do I need to add a wayfinder in every template or I should create a chunk and then put wayfinder inside the chunk and I link this chuck to all templates?
Thx
Ernest
Either will work, but the second one will probably be easier to maintain (assuming that the Wayfinder tag is the same for all templates).
It’s also possible that you could use the same template for all sections by creating Template variables and using them to select the CSS file and some of the formatting code (in chunks).
thanks for your quick reply.
let’s say I use the 2nd way to structure the whole website and so each templates has the same chunk to show menu bar. If my wayfinder code is like: [[Wayfinder?&startId=`0` &level=`1`], can my website work? please help...
thx
ernest
no u forgot ]
[[Wayfinder?&startId=`0` &level=`1`]]
or
[!Wayfinder?&startId=`0` &level=`1`!]
Evolution user, I like the back-end speed and simplicity

Thanks for your help again. what if my navigation bar has a dropdown menu and it looks like something like that:
product 1
>A
>B
>C
product 2
>A
>B
>C
product 3
>A
>B
>C
how to set up wayfinder code for that? I couldn’t find a good tutorial to show me how to do that...
thx!
[[Wayfinder?&startId=`0` &level=`2`]]
u can also add (i think) &hideSubmenus=`true` so it would only collapse when ur on the main page.
-
http://wiki.modxcms.com/index.php/Wayfinder
Evolution user, I like the back-end speed and simplicity

Thanks. It seems working now.