[TYPO3] tt_news filter by year

Lamb, Brian blamb at jcvi.org
Fri Dec 7 19:35:26 CET 2007


Somewhat similar to that but with non-archived news articles. 


-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de on behalf of Francois Suter
Sent: Fri 12/7/2007 3:31 AM
To: TYPO3 English
Subject: Re: [TYPO3] tt_news filter by year
 
Hi,

> Is there a way to display only the news items that occurred in a given
> year say 2004? I could cheat and make categories for each but I have
> over 300 news items so I don't really want to do that. I could also  
> use
> AJAX and query the database and filter by datetime but I would rather
> keep it in Typo3 if possible.

I don't know if this is what you want, but tt_news has an archive  
mode which can be set to work over different periods, including  
years. It also provides an archive menu, which allows you to produce  
a list of years and get the relevant news when clicking on a given year.

HTH

François Suter

-- 
Cobweb Development Sàrl
www.cobweb.ch

Rue Eugène-Marziano 15, CH-1227 Les Acacias (Geneva - Switzerland)
T: +41 22 880 00 93, F: +41 22 880 00 94, E: support at cobweb.ch
web solutions for professionnal requirements







More information about the TYPO3-english mailing list