[TYPO3] Different wrap for last content in content area

JoH info at cybercraft.de
Wed Oct 10 20:04:44 CEST 2007


> Tried
>
> temp.customRender = CASE
> temp.customRender {
>     key.field = colPos
>     default < tt_content
>     0 < tt_content
>     1 < tt_content
>     4 < tt_content
>     0.text.stdWrap.dataWrap = <div class="basicText">|<br class="none"
> /></div>
> /*
>     0.text.stdWrap.split {
>         token = ###SPLITTER###

You are using the token ###SPLITTER### here.
###SPLITTER### is just a name for a token that I invented together with this 
solution.
It could even be something like ###WHATEVER###.
To make use of it you first have to insert it somehow into your code.
###SPLITTER### is nothing that would be inserted by default, it has to be 
inserted manually i.e. by a wrap, a cObject or however you like.
Without inserting the ###SPLITTER### first you simply can't split the 
content, since the token will never be found by the split function.

Got the point?

Joey 




More information about the TYPO3-english mailing list