[TYPO3] Tt_news Layout
Another Vision
info at anothervision.co.uk
Tue Jun 6 10:52:35 CEST 2006
I guess you could use the CSS layout, wrapping the 'list' or 'latest' items
in a floated css styled div in your html news template (you need to enable
the news plug-in's CSS layout in your TS template - see the documentation
for details)... Something like...
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news
page or search
-->
<!-- ###CONTENT### begin
This is the part of the template substituted with the list
of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<div class="floated-news-item">
<div class="news-list">
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
###GW1B###<h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></
h2>
###NEWS_SUBHEADER###
<p>Added/updated: ###NEWS_DATE###<br />
###TEXT_CAT### ###NEWS_CATEGORY###</p>
###NEWS_AUTHOR###
###GW2E###
</div>
</div>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<div id="newsbrowselinks">
###GW2B### ###LINK_PREV### ###BROWSE_LINKS###
###LINK_NEXT### ###GW2E###
</div>
<!-- ###TEMPLATE_LIST### end -->
And then in the css:
.floated-news-item{
float:left;
width:33%;
}
.news-list{
height:16em;/*adjust to suit your layout*/
/*some other styling here for background etc*/
}
Hope this helps
Mike
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Alexander
Roch
Sent: Monday 5 June 2006 19:19
To: 'TYPO3 English'
Subject: [TYPO3] Tt_news Layout
Hi, I'm just playing around with tt_news.
Can anyone give me a hint how to build a layout with 3 rows and 3 colums
displaying news?
Can List-Type tt_news do it?
I plan to migrate http://www.imz.at/ to T3 and trying to solve the Page 0 as
a news solution.
Thanks, ALexander
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list