Support

Home Forums Event Espresso Premium EE3 Calendar jQuery or Javascript Issue

EE3 Calendar jQuery or Javascript Issue

Posted: October 22, 2015 at 4:50 pm


Lance Gundersen

October 22, 2015 at 4:50 pm

I have a client site located at http://www.yourcourteouscanine.com and on the landing page should be a calendar directly above the “Register Today” button.

I can see it loads via the inspector but can’t seem to find exactly what is causing the issue of display.

It is a custom theme created by me.

Thanks in advance.


Lorenzo Orlando Caum

  • Support Staff

October 23, 2015 at 5:43 am

Hi Lance, you can use a tool like Firebug or Chrome developer tools to see the errors:

http://cl.ly/image/413V3g2L3E2F

Here is how to fix those errors:

http://stackoverflow.com/questions/12343714/typeerror-is-not-a-function-when-calling-jquery-function


Lorenzo


Tony

  • Support Staff

October 23, 2015 at 5:48 am

Hi Lance,

How are you currently loading the calendar within that page?

If you are using

do_shortcode('[ESPRESSO_CALENDAR]');

From within the theme template file, you’ll also need to add:

global $is_espresso_calendar;
$is_espresso_calendar = TRUE;

Within that template to force the calendar scripts to load.


Lance Gundersen

October 23, 2015 at 2:14 pm

Tony,

Perfect, I don’t know how I missed that in the docs but thank you!

The support post ‘EE3 Calendar jQuery or Javascript Issue’ 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