[EventCalendar] Upgrading issues

Helene Zisook Speer helenezs at millerdesignworks.com
Thu May 21 18:26:33 UTC 2009


I am upgrading a site I did a couple years ago, and have run into the  
following issues (using the latest beta):

1. A date in the small calendar in the old version used to link to  
something like "http://www.domain.com/?m=20090524&cat=3" (where 3 is  
the events category).  Now, the same date links to "http://www.domain.com/2009/05/24/?ec3_listing=events 
", which displays the wrong date in the title and lists no events.  I  
don't even know what to ask about this.  Is it something I did wrong?   
Any other hints?

2. In the previous version, I had changed the display order of the  
popup that appears when rolling over a date in the small calendar.  I  
want it to display in time regardless of event.  In the new version, I  
can't find where to change that order.  It used to be in the  
ec3_util_calendar_days function, and I ordered it by start_date.  Can  
you point me in the right direction?

3. In this version, I changed the ec3_is_event_category_q function.   
Instead of "if($cat_obj->term_id == $ec3->event_category)" I added a  
check for the children, to make this line: if($cat_obj->term_id ==  
$ec3->event_category || cat_is_ancestor_of($ec3- 
 >event_category,intval($cat_obj->term_id))).  This seems to work  
well.  Is there any reason that something like this can't be built  
in?  It makes categorizing events easy.

4. I added to the ec3_get_schedule function two extra parameters:  
future_only and how_many.  This allows me to get, for example, the  
next show of a movie that's already been running.  I did it in a  
pretty clumsy way, but it works.  In the new version, it still works,  
but I see that there's an "$active" variable that I don't understand.   
Am I duplicating a feature that's already there?  Is there a better  
way to do this than to hack into this function?  If not, is it a  
feature other people need, and could it be included?

Thanks very much for a great plugin!

-Helene



More information about the EventCalendar mailing list