Tuesday 03 February 2004 1:40:48 am
hi all i'm overriding the corporate template and i've seen that in the news area in the home page the latest n articles are displayed. i think this is a good feature but i need a little improvement to it:
when i write an article (which will be shown in the "news" section) i'd like to set a date from wich it will be displayed, and a date at which it will be hided. for example: today I write a news about a meeting that will take place in rome the 1st of march. I want this article displayed from now until the 1st of march, because after that date it will be useless to display it. i know how to add the 2 dates as attributes of the article class, but i need the function to fetch the articles "displayable" when i visit the site another improvement will be to ever display articles with the above dates=null
any hint? thanks alessandro
|