Posted on: 04/12/05 12:01am
By: Anonymous (FredR)
Where can I limit the events_block output to say 12 items and/or exclude event types? A maxout would be preferable.
Fred
Too many events on the events_block
Posted on: 04/12/05 02:24pm
By: Dirk
function COM_printUpcomingEvents in lib-common.php
bye, Dirk
Too many events on the events_block
Posted on: 04/13/05 12:26pm
By: Anonymous (FredR)
Thats where I thought i'd be. I was hoping for a code example...
Fred
Too many events on the events_block
Posted on: 04/13/05 05:22pm
By: Dirk
Add a LIMIT after the ORDER BY clause:
. 'ORDER BY datestart, dateend LIMIT 15';
would limit it to 15 events.
bye, Dirk
Too many events on the events_block
Posted on: 04/13/05 08:54pm
By: Anonymous (FredR)
Line 4217
. 'ORDER BY datestart,timestart LIMIT 15';
added the limit there. Seems to work :-)
Thanks.
Fred