Support

Home Forums Event Espresso Premium Calendar Disappeared?

Calendar Disappeared?

Posted: February 5, 2013 at 8:13 am


lryan

February 5, 2013 at 8:13 am

My calendar has disappeared and the short codes no longer appear to be working. I haven’t changed anything…just gone. Any help appreciated!

http://www.radiantadvisors.com/event-calendar


Josh

  • Support Staff

February 5, 2013 at 10:11 am

Hi there,

It looks like it’s the Simple newsletter plugin that’s not coded to work with jQuery in no-conflict mode that’s preventing any JavaScript to run after it throws an error.

You can fix this by changing the simple-newsletter-signup.js to read as:

// JavaScript Document
jQuery(document).ready(function($){
    $('#snsf-checkbox').click(function(){   
        if($('#snsf-checkbox').is(':checked')){
            $('#snsf-submit-button').removeAttr('disabled');
        }
        else{
            $('#snsf-submit-button').attr('disabled','disabled');
        }



    });



});

Here’s your calendar page with that fix in place:

http://jsfiddle.net/joshfeck/AmbcK/

You might also consider changing the WordPress theme so it includes the version of jQuery that ships with WordPress instead of the older version that it includes right now. This will help prevent other JavaScript errors from happening down the road.

Please see this post in our blog for more info:

https://eventespresso.com/2012/08/using-jquery-in-safe-mode/


lryan

February 14, 2013 at 4:04 pm

Woot – fixed!

The support post ‘Calendar Disappeared?’ 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