[Typo3] TS Setup - reuse of text
Helge Vad
helge at mereteland.dk
Mon Aug 1 09:50:38 CEST 2005
>menu level, and - to avoid code redundans .- I would like to define the line once and the reuse it in >the TS for each menu level.
>How is that done?
One way is declaring a constant - in Constants:
myconst=<a href=..........>
and then resusing it in Setup:
NO.allWrap.dataWrap= {$myconst}
Another way would be defining a value in the temp TS branch in Setup:
temp.mylinkvalue=<a href=..........>
and then copying it as necessary:
NO.allWrap.dataWrap < temp.mylinkvalue
Best, Helge Vad
More information about the TYPO3-english
mailing list