[TYPO3] Inserting HTML after every third element
Martin Mifsud
martin.mifsud at bikealert.com
Wed Mar 26 17:17:41 CET 2008
Hi
I think you want to look at OptionSplit in TSref and also:
http://www.typo3wizard.com/en/articles/explaining-the-content-object.html
The 2nd part.. "OptionSplit and CONTENT objects"
HTH
Martin
-------- Original Message --------
Subject: [TYPO3] Inserting HTML after every third element
From: Ron Hall <ron at busynoggin.com>
To: TYPO3-english at lists.netfielders.de
Date: 26/03/2008 14:52
> Hello All,
>
> I want to insert some HTML after every third record when rendering
> content. Basically I need to insert a clearing div. Like this:
>
> Record 1
> Record 2
> Record 3
> MY HTML (clearing div)
> Record 4
> Record 5
> Record 6
> MY HTML (clearing div)
> Record 7
> Record 8
> Record 9
> MY HTML (clearing div)
> Record 10
> Record 11
> MY HTML (clearing div)
>
> Any suggestions on how to do that? Also, the last "MY HTML" is not a
> big deal. I can insert that another way.
>
> Thanks,
> Ron Hall
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
--
Martin Mifsud
More information about the TYPO3-english
mailing list