[TYPO3-english] Use stdWrap.split to wrap stuff with divs

Lukas Mattsson lukas at antroposofi.info
Fri Aug 13 11:15:43 CEST 2010


Thanks, the German description was great, and it saved my day.

Best regards, Lukas


Lina Wolf skrev 2010-08-12 15.36:
> Split requires you to have something you can split at. Is there such a
> sign? I find the splitz explanation in the wiki9 quite good:
>
> http://wiki.typo3.org/index.php/TSref/split
>
> If you can speak German, the German version is better then the english:
>
> http://wiki.typo3.org/index.php/De:TSref/split
>
> Am 12.08.2010 15:32, schrieb Lukas Mattsson:
>> I am using the Feedforward extension to display Wordpress posts on my
>> website. It works fine but I want the three latest posts to display in
>> three columns. I can't use css floats because the posts aren't wrapped
>> in div tags.
>> If there any way to wrap the posts in div tags?
>> If not, can I use "split" or any other stdWrap property to detect the
>> posts (aka h2+p+p), and wrap them in divs. I see that the posts are
>> separated by a <br>, can I use stdWrap to replace it with </div><div>,
>> and then wrap everything in a div?



More information about the TYPO3-english mailing list