Summary: No matter what I do with the chunk, Wayfinder is putting out the same HTML code every time. It’s almost as if there is sort of a default that it is using.
Code
I have this in a Template Variable--by the way, the TV is called [*left-nav*]
[[Wayfinder? &startId=`45` &level=`3` &parentRowTpl=`cssplay_revParentRow` &hereTpl=`active`]]
In the Chunk {{cssplay_revParentRow}} (there is only 1 chunk involved here) I have:
<li><a [+wf.classes+] href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]<!--[if IE 7]><!--></a><!--<![endif]-->
<table><tr><td>
[+wf.wrapper+]
</td></tr></table>
<!--[if lte IE 6]></a><![endif]-->
</li>
I am trying to make the results (output) look like this:
<li><a class="active" href="filename.html">Lorem Ipseum</a></li>
But instead it does this:
<li class="active"><a href="filename.html">Lorem Ipseum</a></li>
As you can see I cant get the class to be in the "a" tag.
I have tried the following in attempts to resolve:
- Empty the cache for ModX
- Delete the chunk completely: It still outputs that same code.
- Search the database, and grep’ed the files to look for possible errors/misconfigurations
- Adding a bunch of garbage text to the Chunk to see if its even updating at all: Does not output
- Checked the correct spelling of the names of things (chunks, etc...)
Perhaps my newbie question is simplistic, but I apologize as I do not see the problem.