Greetings!
I’m new in web developing with MODx and I have a question about the syntax of Wayfinder.
I want to create a menu with this chunk:
<a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a>
so that I have this source output:
<a href="url1" title="title1" id="current">Menu1</a>
<a href="url2" title="title2">Menu2</a>
<a href="url3" title="title3">Menu3<a>
Where id="current" is applied only to the current page.
I tried using &hereClass but WF outputs it in the <li> tag.
I also know that [+wf.wrapper+] is an obligatory tag for the chunk setup, but when I put it in there I get a list.
I don’t want any lists or uls, I just want a nice anchor
With simpler words I want to how to output the "anything else you could imagine" , from this quote
Wayfinder can be used to output a list, a table, a definition list, and just about anything else you could imagine.
found on
http://www.muddydogpaws.com/development/wayfinder/features.html
Thanks in advance!
~Z.Evstatiev