[TYPO3-english] Wrapping content elements in different ways

Claudio Strizzolo claudio.strizzolo at ts.nogarb.ageinfn.it
Tue May 26 08:43:25 CEST 2009


Hello Walrick

> Just some other ideas: have you tried:
> 
>      token = ###SPLITTER###
>      cObjNum = 1 |*||*| 2
>      1.current = 1
>      1.wrap=<div class="element">|</div>
>      2.current = 1
>      2.wrap = <div class="last_element">|</div>
> 
> or
> 
>      token = ###SPLITTER###
>      cObjNum = 1 |*| 2 |*| 3
>      1.current = 1
>      1.wrap=<div class="element">|</div>
>      2.current = 1
>      2.wrap=<div class="element">|</div>
>      3.current = 1
>      3.wrap = <div class="last_element">|</div>

I tried both but they do not work: as before, it looks like the sequence 
of blocks is not split at all. The result in both cases is something like

<div class="last_element">
First element
Second element
(...)
Last element
</div>


Claudio


More information about the TYPO3-english mailing list