Support

Home Forums Event Espresso Premium Calendar and the google jquery conflict

Calendar and the google jquery conflict

Posted: November 13, 2012 at 11:46 am

Viewing 5 reply threads


Lee Snow

November 13, 2012 at 11:46 am

Recently, my calendar shortcode broke because the header of my theme is calling the Google’s jquery. I did update my theme this weekend and looked at my console errors in firebug. I found where in my theme the script is being called and it IS using the wp_enqueue_script in front of the Google jquery api. Unfortunately I need the google api jquery to run my slideshows on not just the home page, but a few others as well. How can I fix this? Website is http://www.mediabridges.org and the calendar is supposed to be located on http://www.mediabridges.org/education/calendar/.

  • This topic was modified 12 years ago by Lee Snow.


Lee Snow

November 13, 2012 at 11:47 am

I tried downloading the jquery.min.js file from Jquery itself and loading it into my JS directory, and then linking this. But my slider still broke.


Josh

  • Support Staff

November 13, 2012 at 1:30 pm

It looks like the issue that’s going on right now is that there are paragraph tags getting added to the Calendar’s JavaScript. You can try placing the [raw] short tags around the [ESPRESSO_CALENDAR] and [ESPRESSO_EVENTS] shortcodes as a workaround. Example:

[raw][ESPRESSO_CALENDAR][/raw]

Please note that themes that add a raw shortcode or shortcodes that remove auto formatting will cause plugin incompatibility and may prevent you from using any other shortcodes.


Lee Snow

November 13, 2012 at 3:42 pm

Made a little headway. Placing the raw shortcodes allowed the month, day, year, buttons appear, but not the table with events.

Now I’m getting a different javascript error from console pointing to the fullcalendar javascript. I’ve seen in the forums some recommendations to check that the footer is being called in the footer.php and page.php files, and yes they are.

We needed better video compatibility, so we updated the theme that had no problems before. But they rewrote quite a bit of the theme. It is Quickstart by Gabfire. I’ll also let them know that their theme is incompatible with your plugin if this ends up being the case.


Lee Snow

November 14, 2012 at 11:05 am

Hey – I did a little bit of my own research. The Console error I’m getting now, with the [raw] tags, is an uncaught type error of ‘curCSS’. By googling the error, I learned that this call for the jQuery CSS was depreciated in in Jquery 1.8. Many sites recommended replacing .curCSS with .css. When I did this to the full calendar.min.js, I finally got my Calendar table back. However, the events are all at the top and not in their days. Now I have the error uncaught type error .css.


Lee Snow

November 14, 2012 at 11:19 am

Ah, one of my .css was capitalized. I replaced m.CSS with m.css and the calendar is fixed. http://www.mediabridges.org/education/calendar/

Viewing 5 reply threads

The support post ‘Calendar and the google jquery conflict’ 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.

Event Espresso