Support

Home Forums Events Calendar Add-on Event not showing on the Calendar

Event not showing on the Calendar

Posted: March 6, 2013 at 8:55 am


Kerby Hyde

March 6, 2013 at 8:55 am

We’re having an issue with the Calendar displaying the following event: http://theasbestosinstitute.com/event-registration/?ee=199.

Looking at the source we see:
…"url":"http://theasbestosinstitute.com/?page_id=221&regevent_action=register&event_id=199","id":"199","title":"Contractor Supervisor Initial - Mar. 18-22"…

So it seems like the event should display. Maybe Asbestos Worker English Initial is covering it up? It’s odd though because the week of April 1st seems to handle things fine. Please advise.


WordPress 3.5.1

Event Espresso 3.1.30.7P

Event Espresso – Calendar 2.0.4

This is a recent upgrade.


Josh

  • Support Staff

March 6, 2013 at 10:12 am

Hi Kerby,

This looks like a JavaScript race condition. If you advance forward one month, then back, the missing events appear as expected. I will have to do some research to see what can be done about this.


Kerby Hyde

March 13, 2013 at 9:48 am

Thank you.


Josh

  • Support Staff

March 14, 2013 at 1:06 pm

Hi Kerby,

I’ve been looking into this and so far one thing that I’ve found is if the themeroller option is active, the events all appear as expected. I’m not sure if this is a bug in the jQuery fullcalendar plugin, or if there is something not right with Event Espresso’s implementation. For now, one solution is to set themeroller to on in Event Espresso>Templates settings.

The calendar code that sets theming to on or off can also be changed (in the case where you don’t want to use jQuery themeroller on the registration pages of the site).

In espresso-calendar.php there’s a block of code that starts out with a PHP comment labeled “Theme Settings”

You can change the code where it checks for the themerolloer option and remove the check so theming is on:

//jQuery UI Themeroller
//Enables/disables use of jQuery UI theming.
//Settings: http://arshaw.com/fullcalendar/docs/display/theme/
<?php
    echo "theme: true,";
?>

While the above code change fixes the issue, it does remove the default calendar CSS, so you could apply the themeroller calendar styles to your stylesheet as a workaround.

The support post ‘Event not showing on the 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