[EventCalendar] ec3_get_events filtering by category?
Carlos Sisi
carlos.sisi at marbella.com
Sun Jan 27 09:53:29 UTC 2008
Any idea how I could filter ec3_get_events output by a category?
Currently I am using...
My idea is to click on the links on the left, and pass agenda2.php a
parameter with the $idcategory but the recommended way doesnt work.
Heres the code :
ec3_get_events(
20, // limit
'<a href="%LINK%">%TITLE% (%TIME%)</a><br/><strong>Evento:</strong>
%EVENTO%<br/><strong>Dónde:</strong> %DONDE%<br/
><strong>Provincia:</strong> %PROVINCIA%<br/><strong>Ciudad:</strong>
%CIUDAD%', // template_event
'%DATE%', // template_day
'j', // date_format
'%MONTH%:','F Y', // template_month
$idcategory
And here is the page :
http://prueba.tertuliaandaluza.com/agenda2.php
This approach comes before here :
http://penguin.firetree.net/pipermail/eventcalendar/2007-October/002583.html
It says to use : c3_get_events(limit,"3,4"); which is not true - it
doesnt work at all.
Thanks!
-- Carlos
More information about the EventCalendar
mailing list