[Typo3] tt_news and latest shown

W van Bruggen w.van.bruggen at gmail.com
Wed Jun 8 22:43:21 CEST 2005


Hello Nelson

I suppose this is in list mode. tt_news gives you the option to use
alternating modes for the list to show your records (which is standard
set on two alternating modes, you can have more if you need it, check
the manual for that). Just take a look at the template you use for
tt_news and make it do <tr> in the first alternating mode (with the
marker ###NEWS###), open a <td> and put your markers to show header,
text, img etc in the way you want and close the </td>. Then edit in
the template between the ###NEWS_1### markers in the same way and
close that one with </tr>. You should than have the two articles next
to each other and the next two on a row below it.

The only downside to this is that you should always show a number of
articles that you can divide with two, because if you got like for
example 9 elements to show your tableit  will not have a closing tag
for the last table row

Just have a look at the template, i'm sure you can figure it out.

Greets,
Wietse van Bruggen



More information about the TYPO3-english mailing list