[Typo3] news in two colums

Darryl LeCount dlecount at via-internet.com
Thu Aug 18 08:49:36 CEST 2005


Hello Pablo,

I had the same problem a while back, although I only wanted a brief
overview of news articles in three different columns. You need to use a
template which corresponds to something like this:

	
<table cellpadding="4" cellspacing="0" border="1" width="100%">
		<tr>
            		<!-- ###CONTENT### begin --><!-- ###NEWS### begin -->
			<td valign="top" width="33.3%">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
				<tr height="35"><td align="left"
valign="top"><b><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></b></td></tr>
				<tr height="100"><td align="center"
valign="top">###NEWS_IMAGE###</td></tr>
				<tr height="65"><td align="left"
valign="top">###NEWS_SUBHEADER###</td></tr>
			</table>
			</td>	
			<!-- ###NEWS### end--><!-- ###CONTENT### end -->
		</tr>
</table><br>

Of course, the particulars may change, and this is a specific example as
opposed to a fixed solution. Save your template as a text file (for
simplicity's sake, with the ending .tmpl) and import it under "Template"
in the news content section on the page that you want. Set it to display
LIST, set the maximum amount of characters that the article should show
(unless you use ###NEWS_CONTENT### where the whole of the article is
shown) and under Other Settings set "Max Items" to 2.

Regards,

Darryl



More information about the TYPO3-english mailing list