Hi.
I’ve been trying quite a lot of cms’s and am now trying MODx, which seems to be very nice. I need some help to understand how to customize the wayfinder menu snippet. How do I use chunks with this snippet? Where can I find documentation on this?
Jakob
Hi.
I could use a little more newbee-like explaination. I don’t know much about MODx, Snippets or Chunks... Could you give me some kind of step-by-step explaination?
Jakob
I’ve read the documentation, but I still need to know how to combine the information about chunks and the snippet documentation. I simply don’t understand how to use the snippet documentation. As far as I can see, it doesn’t make any difference what I do...
Ok.. Now I’ve worked my way a bit further. How do I make a submenu (from level 2 to level 3) that is seperate from level 1?
-
☆ A M B ☆
- 24,524 Posts
Another Wayfinder call, using [*parent*] as the startId.
I’ve written this in my template:
[[Wayfinder? &startId=`[*parent*]` &level=`2` &hideSubMenus=`true` &innerRowTpl=`submenu`]]
And this is my chunk:
<div class="[+wf.classnames+]"><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a></div>[+wf.wrapper+]
This also displays the parent. How do I make it to only show the submenus?