[TYPO3] Wrap each element in TV
Sune
nospam_sune at talefod.dk
Tue Aug 1 14:39:04 CEST 2006
Hi
I have the following in my TS for a FC:
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <parent>|</parent>
This works perfectly! But now i want to wrap each element in "<child>" and
"</child>", so i get
<parent>
<child>[normal rendering of tt_content]</child>
<child>[normal rendering of tt_content]</child>
...
<child>[normal rendering of tt_content]</child>
</parent>
But i cant get it to work. I have tried:
10= RECORDS
10.source.current=1
10.tables = tt_content
10.conf.tt_content = COA
10.conf.tt_content.wrap = <child>|</child>
but then the normal rendering dosent happen and i just get
<child></child>
<child></child>
...
<child></child>
Please help :)
BestRegards
Sune
More information about the TYPO3-english
mailing list