I am sure this is an easy one for most of you, but I have been trying every combination of wayfinder parameters listed on the muddydogpaws site to try and fix it and have not been successful up until now.
The issue is simple. No mater which level of menu i am on the last item is always surrounded by an <li> tag unless that that is the active item. I am trying to make it just a plain html tag. My "row" Tpl is working properly for the other items, only the last item in each section is not complying with my wishes. I.e. in the following menu:
Department
IT
Sales
Marketing
Communications
All of the items would be visually listed at the same level and surrounded by an <html> tag as I desire, except for Communications, unless communications it is the active item. I fudged around with the wayfinder command so much I don’t recall my original version -- promise not to laugh, but what I am currently using is:
[!Wayfinder? &startId=`[[UltimateParent? &topLevel=`1`]]` &rowTpl=`PJhtmlinnerrowTpl` &outerTpl=`PJhtmlouterTpl` &parentRowTpl=`PJhtmlinnerrowTpl` &hereTpl=`PJhtmlinnerrowTpl` &innerRowTpl=`PJhtmlinnerrowTpl`!]
like I said I’ve tried appending one all of the Tpl’s available that cover the row display.
FWIW,
PJhtmlinnerrowTpl is:
<a href="[+wf.link+]" [+wf.classes+] title="[+wf.title+]">[+wf.linktext+]</a>
and PJhtmlouterTpl is:
[+wf.wrapper+]
Any help with this would be greatly appreciated.
Zero responses after 9 days? Either I didn’t make my question clear or else it is more difficult than I thought. In any case I worked around it with an ugly hack using str_replace to remove the last <li>