I’m trying to modify the template calendar-full.php so it only shows the events that can be booked (that is future events, and also that have tickets left).
I am using this function
echo EM_Events::output($cell_events,array('scope'=>'future', 'format'=>" <li><a>ID}\">#_24HSTARTTIME</a></li> "));
But scope => future isn’t working. What am I doing wrong? And also, how do I filter only events that have tickets left?
Also ignore the ‘format’ key if it is irrelevant, I am using it to modify the url, I put the line exactly as it is on the source.
- The topic ‘filter events returned on EM_Events::output’ is closed to new replies.