Posted on: 08/28/02 03:21am
By: Anonymous (Anonymous)
Is there any way to change the events block so it displays all upcoming events. when we post furutre events it doesnt seem to show them up!
is there any way of changing this?
Events
Posted on: 08/28/02 04:14am
By: Dirk
The Upcoming Events block only show the events for the next 14 days. If you want to change that, you would have to hack the function COM_printUpcomingEvents() in lib-common.php.
bye, Dirk
Events
Posted on: 08/29/02 03:55am
By: Anonymous (Anonymous)
how wouid i go about doing this?
Tim
Events changing date window
Posted on: 09/12/02 08:54pm
By: jcz
Look for these lines. In this case I've made the site events out to 50 days and personal events to 28.
$eventSql = "SELECT eid, title, url, datestart, dateend FROM WHERE dateend >= NOW() AND "
. "(TO_DAYS(datestart) - TO_DAYS(NOW()) < 50) ORDER BY datestart, dateend";
$personaleventsql = "SELECT eid, title, url, datestart, dateend FROM WHERE uid = AND dateen$
. "(TO_DAYS(datestart) - TO_DAYS(NOW()) < 28) ORDER BY datestart, dateend";