I wrote a snippet to process the placeholder in this chunk:
[+tocPrefix+] Page Title!
and this works fine in the content area of my site pages.
Next I created a chunk to serve as a Wayfinder "rowTpl" template as follows:
<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" >[+tocPrefix+][+wf.linktext+]</a> [+wf.wrapper+]</li>
Where the Wayfinder call is:
[!Wayfinder? &startId=`2` $rowTpl=`TocPrefixTpl` &debug=`true` &ignoreHidden=`true` &level=`1` &displayStart=`true` &levelClass=`col2navlev`!]
My problem is the &debug output shows "rowTpl - No template found, using default" which comes back with this format:
<li[+wf.id+][+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>[+wf.wrapper+]</li>
So my question is, why doesn’t Wayfinder locate my chunk for the rowTpl? Also, must I call a snippet from Wayfinder rather than simply inserting a placeholder for the tocPrefix variable?