You could use the &parentRowTpl
&parentRowTpl
default value: NULL
values: name of template chunk
description: The parentRowTpl template is used when processing items that are folders with their children being displayed in the menu.
available placeholders: Same as RowTpl.
example:
<li[+wf.classes+]>
<a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a>
[+wf.wrapper+]
</li>
What creates the link is the [+wf.link+]. So, you can try to either remove it and there won’t be any link, or if you specifically want a dummy link #, replace [+wf.link+] with # So.....
<li[+wf.classes+]>
<a href="#" title="[+wf.title+]">[+wf.linktext+]</a>
[+wf.wrapper+]
</li>
Haven’t tested it yet, but I think it should work. Tested and it works. However, on click, the dummy link redirects to the home page. You could probably use javascript to make it void. e.g.
javascript:void(null)
e.g. <a href="javascript:void(null)">this link goes nowhere</a>
There’s probably a better way of doing this, maybe using an onclick event. I’ll let those who know chip in.
cheers/k