[EventCalendar] first post

Alex Tingle alex at firetree.net
Mon Sep 4 20:44:26 UTC 2006


Hi Patrick,

> BLOG Location:  http://www.patrickmalone.us/blog
> 
> Scenario:  When I first installed the calendar and using the navigation
> links(above, or below) the calendar month(s) displayed, the calendar
> would move between the months without refreshing the page and would show
> the next, or previous months calendar.  At some point this navigation
> stopped, now when going to next, or previous months it goes to a listing
> of the months posts for the calendar category.

Thanks for the comprehensive description.

Your problem is caused by the "User Online" plugin that you are using. The script "useronline/useronline-js.js" ends with this gem:

  // Init UserOnline
  window.onload = useronline_init;

That blows away the onload event that has been set up by EventCalendar. It's a common problem. I've described my solution here:
  http://blog.firetree.net/2005/07/17/javascript-onload/

I suggest you do two things:

1. Contact the author of "User Online", and give them the URL of my post (above).

2. Replace the line of code I quoted with:
  
  WindowOnload(useronline_init);

As long as the ec3.js script is always loaded before useronline-js.js, this should solve your problem.

-Alex

-- 
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net  +44-7901-552763 



More information about the EventCalendar mailing list