Posted by robhyland on 17th December 2009

WP Events Calendar and Internet Explorer 7

UPDATE: I usually don’t like doing updates like this, but I want to keep this together. First of all, I realized this morning that I was using IE7, not IE8. I upgraded, and things worked better, but it threw a javascript error after it loaded the first event, so not much better. I decided to downgrade events calendar (by renaming the folder and uploading the code from the previous stable version) and it looks like everything is working now. Yea!


UPDATE: This fixed the error, but it also broke the tooltip, which is fairly important to the plugin functionality, so I undid my changes and am going to see if there is another way to fix this. What I haven’t figured out yet is why .tooltip does not cause a problem on the calendar in the actual site, but only in the administrator.

It looks like there is also some sort of issue  with the jquery datepicker plugin. If I had to guess I would bet that it is the same issue.


One of the sites I help maintain was trying to use the WP Events Calendar plugin, and when we set it up everything worked great, but when our users went to use it IE8 kept denying them access to the page.

I looked at a lot of code and narrowed it down to the jquery tooltip plugin. Eventually I found the solution – change the createHelper function in the jquery tooltip code from .appendTo('document.body'); to .appendTo('document.anotherPageElement');. In my case I switched out ‘body’ for ‘wpcontent’.  If you need to edit this for your WordPress installation the pathing should be something like /wp-content/plugins/events-calendar/js/jquery.tooltip.min.js. I actually pulled in the full code so I could understand it better. I can’t imagine that will affect performance too much.

Now I am getting the same error on the page where I edit the events, but I think this is a good start.

No comments yet!

Post your comments