Support

Home Forums Events Calendar Add-on TypeError on Blank page template when displaying Calendar

TypeError on Blank page template when displaying Calendar

Posted: August 31, 2012 at 10:46 am

Viewing 4 reply threads


rmpower

August 31, 2012 at 10:46 am

I had an issue about my theme injecting tags into the Javascript, so I now load all Event Espresso code on entirely blank page templates. I have the Events page and Table list pages working, but the Calendar page comes with this error.

TypeError: $jaer(“#espresso_calendar”).fullCalendar is not a function
[Break On This Error]

loading: function(bool) {

Any ideas? Thanks guys.


Jonathan Wilson

September 1, 2012 at 12:43 am

Can you give us the link to the calendar page?


rmpower

September 4, 2012 at 10:56 am

http://support.docedge.com/training-calendar/

Had some time to try and fix the page again. Using the code, the error comes back same as the post above.

If i use a blank template with the standard shortcode in WordPress, it comes back as the standard event list.


Chris Reynolds

  • Support Staff

September 4, 2012 at 4:47 pm

You’re getting this error on that page: Uncaught TypeError: Object [object Object] has no method 'fullCalendar'

This tells me that your theme is not using wp_footer() in the footer.php. wp_footer() is used by Event Espresso (as well as many other plugins) to load scripts in the footer, one of those scripts being the fullcalendar javascript used to display the calendar.


rmpower

September 5, 2012 at 9:22 am

That did it! Guess I went overboard with simplifying the theme.

Thanks guys

Viewing 4 reply threads

The support post ‘TypeError on Blank page template when displaying Calendar’ 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