-
☆ A M B ☆
- 24,524 Posts
[[Wayfinder? &startId=`xx`]]
where the xx is the document ID of the container/parent document where you want the menu to start from (0 if you want it to be from the top).
There is a good document for Wayfinder in its
wiki page.
I already tried that , but how do i customize it?
I want to give the <ul> tag a class and the <li> items no classname.
-
☆ A M B ☆
- 24,524 Posts
Take a look at the document you can download from the wiki page I linked to. It has all the parameters and settings you can use with Wayfinder. It also explains how to make your own custom output templates for it.
Sorry, missed the document.
You’ve got to create your own template for example:
<ul [+wf.id+]>
[+wf.wrapper+]
</ul>
once you add that parameter then you can add your id="menu".
So i first need to create a chunk with the menu layout and call that chunk in my template?
If I understand correctly, the easiest way to do this is to add the &outerTpl parameter and specify your template. Create the following chunk:
<ul id="menu">
[+wf.wrapper+]
</ul>
Name the chunk "Outer," then call it in your wayfinder call:
[!Wayfinder? &startId=`10` &outerTpl=`Outer`!]