Question
The
PatternSkin templates include this code:
%TMPL:DEF{"breadcrumb"}%%{"breadcrumb:title"}%%TMPL:P{"breadcrumb:wikitoolname"}%%TMPL:P{"breadcrumb:currentweb"}%%META{"parent" nowebhome="on" prefix="%TMPL:P{"breadcrumb:separator"}%" suffix=""}%%TMPL:P{"breadcrumb:currenttopic"}%%TMPL:END%
which displays the breadcrumb trail.
I'd like to space out the parents of the trail, which I've tried by changing the meta search to
%META{"parent" nowebhome="on" prefix="%TMPL:P{"breadcrumb:separator"}%" suffix="" format="[[$web.$topic][%SPACEOUT{$topic}%]]"}%
However, when I execute this, the parent topic is not spaced out, as gets sent "$topic" and not the topic name. I'm not able to work out how to change the evaluation precedence so SPACEOUT evaluates after $topic is filled in.
How do I space out the parent topics?
Environment
--
ChrisFLewis - 24 Jan 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Filed this as a bug.
The format needed to be changed to escape the SPACEOUT with $percnt, so $percntSPACEOUT{$topic}$percnt .
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5288
--
ChrisFLewis - 25 Jan 2008