Upcoming and archive News
Posted: Tue Feb 28, 2006 4:15 pm
In forge I add a patch for display new (upcoming) or old (archive
) news only.
I add a new parameter displayonly [=new/old] (warn in this release: relative of post date):
Alby

I add a new parameter displayonly [=new/old] (warn in this release: relative of post date):
Code: Select all
{.... displayonly="new" ....}
display new articles only (warning: relative to post date (news_date))
{.... displayonly="old" ....}
display old articles only, tipical of archive news (warn: relative to post
date (news_date) and (if set) close the expiration date (end_time))