Forums / Setup & design / article: date to show and to hide it

article: date to show and to hide it

Author Message

Alessandro Cipriani

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

Alessandro Cipriani

Wednesday 11 February 2004 1:17:16 am

none got the same problem?
I think it's a basic feature for a content manager like ezPublish!
any hint?

thanx
alessandro

Alessandro Cipriani

Tuesday 17 February 2004 5:59:52 am

please help me
this improvement will be usefull for all!

best regards
alessandro

Muhammad Khalid Majeed

Tuesday 04 May 2004 11:46:37 pm

I also want to work like this but I can't found any solution for it. Although this is the basic feature of any CMS but i don't know why ez have not this feature. If anyone have solution plz reply.

Muhammad Khalid
Software Engineer
www.webgurru.net