[TYPO3-ttnews] latest template with 10 detailed news links and 20 links only

Erik Svendsen erik at linnearad.no
Wed May 10 17:57:08 CEST 2006


Klaus Hinum skrev:
> hi group,
> 
> is it possible to display a latest plugin with the first 10 news 
> detailed (image, shorttext, link) and then the news 11-30 only with links?
> 
> e.g. with 2
> 
> news1
> abdfafsj lasfdjasdlf
> link
> 
> news2
> abdfafsj lasfdjasdlf
> link
> 
> news3
> abdfafsj lasfdjasdlf
> link
> 
> news4
> news5
> news6
> news7
> ...
> 
> greetz
> Klaus

Yes, it should. Make two instances on the page where you have prenting 
the news. The first one with latest and pointing to the normal template.

Make the second instance start with Item number 11 (List StartId), and 
let it point to a ddifferent version of the news HTML template. Where 
you in the Latest section only have the marker for the news 
title/header. Something like this.

<!-- ###TEMPLATE_LATEST### begin
This is the template for the latest news, typically displayed on a 
frontpage
-->
<div class="news-latest-container">
	<!-- ###CONTENT### begin
		  This is the part of the template substituted with the list of news:
	-->
		<!-- ###NEWS### begin
			Template for a single item
		-->
			  <div class="news-latest-item">

				<span class="news-latest-date"><!--###LINK_ITEM###-->###NEWS_DATE### 
###NEWS_TIME###<!--###LINK_ITEM###--></span>
	<h3><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h3>
				
		<!-- ###NEWS### end-->		
	<!-- ###CONTENT###  end -->
<div 
class="news-latest-gotoarchive"><!--###LINK_ARCHIVE###-->###GOTOARCHIVE###<!--###LINK_ARCHIVE###--></div>
</div>
<!-- ###TEMPLATE_LATEST### end -->

Here you will only have the date and the title of the news.

But there are a specific newsgroup for tt_news, and the way to do it is 
also in the manual.

wbr

Erik Svendsen



More information about the TYPO3-project-tt-news mailing list