[TYPO3] Wrap each element in TV

Sune nospam_sune at talefod.dk
Tue Aug 1 14:53:04 CEST 2006


Hi,

Found the solution:

10.conf.tt_content.stdWrap.dataWrap = <child>|</child>

/Sune



"Sune" <nospam_sune at talefod.dk> skrev i en meddelelse
news:mailman.1.1154435945.24944.typo3-english at lists.netfielders.de...
> 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