Okay, I made it a bit too simple.
You want the general classes applied to the
Contact Us page too.
You could have the idea to write this in the
then-part:
:then=`<li [[+wf.classes]] class="special_class">`
But this would be rendered to
<li class="...the general classes here ..." class="special_class">
that is, the
class= occured twice.
To avoid this, you take the placeholder
[[wf.classnames]
] instead of
[[wf.classes]
]. The first one fetches the classes without the
class=. So you have to put that in seperately, and only once:
:then=`<li class="[[+wf.classnames]] special_class">`
So the whole &rowTpl chunk becomes
[[+wf.docid:is=`##`:then=`<li class="[[+wf.classnames]] special_class">`:else=`<li [[+wf.classes]]>`]]
<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>[[+wf.wrapper]]</li>
I didn't test it myself, but it should work like this.