[EventCalendar] Ajax not working?

webmaster at armyofclones.ca webmaster at armyofclones.ca
Sat Nov 4 16:15:25 UTC 2006


Hi Alex,

Thanks! It works now... no need to beat anyone :)

I never thought it could be caused by another plugin. 

Robin


-----Original Message-----
From: eventcalendar-bounces at firetree.net
[mailto:eventcalendar-bounces at firetree.net] On Behalf Of Alex Tingle
Sent: 4 novembre 2006 10:38
To: Support for EventCalendar plugin
Subject: Re: [EventCalendar] Ajax not working?

Hi Armyofclones,

On Sat, 04 Nov 2006 10:11:29 -0500
webmaster at armyofclones.ca wrote:

> Hi. Just installed your calendar in my sidebar to replace my previous one
> (LiveCalendar) and it works fine. except when I try to flip through
months.
> It just loads the archive page associated with each month (when there is
> one, or a 404 error for future months) instead of refreshing the calendar
> through Ajax. I see on your webpage it should call a javascript
> "javascript:ec3.go_prev()" or "javascript:ec3.go_next()". What do I have
to
> do to make it work? I even tried to use it as a widget with the default
> template, but it didn't help. My old calendar was also in Ajax and worked
> just fine. 

The problem is caused by the "fw-blogroll" plugin you have loaded:

http://www.armyofclones.ca/wordpress/wp-content/plugins/fw-blogroll/includes
/fw-blogroll.js

...contains this code:

  window.onload=montre;

To see why that's dumb, and for my solution, go here:
  http://blog.firetree.net/2005/07/17/javascript-onload/

I suggest that you go and beat the author of that plug-in about this
head with that URL. ;-)

You can fix it for yourself by replacing "window.onload=montre;" with
"WindowOnload(montre);"

-Alex

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

_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar

__________ NOD32 1.1853 (20061103) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com





More information about the EventCalendar mailing list