Posted: December 20, 2012 at 10:35 am
|
Just upgraded to the latest version of EE Calendar and now the dynamic [ESPRESSO_CALENDAR] does not show up. I can see the DIV/CSS classes but that is it, no display. http://www.wonderwaremidwest.com/training NOTE: This works fine in Chrome and Fire. This seems to occur on all versions of IE 7,8,9,10. Is something not correct? IE8 gives me an error on line 700? |
Hi Jake, I’m looking at the source of the page and it appears to be an issue with the theme loading up an old copy of jQuery. It’s likely hardcoded into the header.php file, so when another plugin tells WordPress it needs the jQuery library, a second copy of the library (the more current version that is included with WordPress) will load up. Some browsers will be more tolerant than others in situations like these, which may be why it’s only manifesting itself in IE. WordPress has a built in function that makes it possible to avoid conflicts like this: wp_enqueue_script. You can fix your theme by changing the line of code in the theme to use the enqueue function, so only one copy of jQuery loads up on the page. Here is a link to a few references for more info: https://eventespresso.com/2012/08/using-jquery-in-safe-mode/ In this case, you’d likely want to move where it pulls in wp_head() just above the script that’s being loaded after jQuery in the theme’s header.php. So it would look something like this:
|
|
|
I updated my header.php file but it still does not appear. Functions.php in our theme does not pull its own jQuery. header.php file: |
It looks like the function call to wp_head() wasn’t moved to the line directly below the wp_enqueue_script function to include jQuery, which might break the selectivzr script. You might need to narrow down the issue be temporarily switching to the twentytwelve theme and check the page in IE. If it still doesn’t appear, then the next thing to check would be for plugin conflicts. |
|
|
Okay so this may be an issue with our theme and if so it is not the plugin fault. However I should note this. We are currently using this DOCTYPE: However when the page loads it is still using ‘IE7 Standards’ mode. If I switch this to ‘IE8 Standards’ mode the calendar appears. IE7 Standards mode is currently the ‘Page Default’. How do I force IE to use IE Standards mode? Will this break other items on the site? |
|
This document type… not sure why it didn’t paste |
|
It is odd it shows up in preview but not when you post. Here is what we use in plain text: |
It may be this line in the head of the document that is causing this:
From what I can tell, this isn’t really being used anymore since it was put into place to help transition from IE7 to IE8. Nowadays support for IE8 is beginning to be dropped. IE9 is one version behind now that IE10 has been released. I would try removing that line, if all else fails, you might try using the doctypes that one of the last few default WordPress themes use (twentyten or twentyeleven) |
|
|
Josh. You made my Friday. This worked. Thank you. |
The support post ‘2.0.4 Event Espresso – Calendar Not Showing up IE’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.