Support » Plugin: Simple Calendar - Google Calendar Plugin » wp 3.5 events & future months not showing in ajax mode

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ross Hanney



    The WP UI plugin you have installed loads an old version of the jQuery UI javascript library, which causes problems for the tooltip script my plugin uses.

    I can’t figure out a workaround that doesn’t involve editing code, I’m afraid. The following changes to wp-content/plugins/wp-ui/wp-ui.php seem to do the trick:

    (To be on the safe side, take backups before making changes!)

    Lines 215 to 218 look like this:

    wp_deregister_script( 'jquery-ui' );
    wp_register_script('jquery-ui', '', array( 'jquery' ), '1.8.21' );
    wp_register_script('jquery-easing', $plugin_url . '/js/jquery.easing.1.3.js', array( 'jquery', 'jquery-ui') );

    Edit them to look like this (comment them out):

    //wp_deregister_script( 'jquery-ui' );
    //wp_register_script('jquery-ui', '', array( 'jquery' ), '1.8.21' );
    //wp_register_script('jquery-easing', $plugin_url . '/js/jquery.easing.1.3.js', array( 'jquery', 'jquery-ui') );

    Lines 203 and 204 look like this:

    // wp_enqueue_script( 'jquery', $js_dir . 'jquery.min.js' );
    // wp_enqueue_script( 'jquery-ui', $js_dir . 'jquery-ui.min.js' );

    Edit them to look like this (remove the comments):

    wp_enqueue_script( 'jquery', $js_dir . 'jquery.min.js' );
    wp_enqueue_script( 'jquery-ui', $js_dir . 'jquery-ui.min.js' );

    If you still have problems, let me know.

    Thanks! That fixed the tooltip issue. Hopefully the WP UI plugin will be updated soon.

    Any ideas on why the calendars don’t navigate/display past a month or two?


    Plugin Contributor Ross Hanney



    It looks like you have the “Maximum number of events to retrieve” option still set to the default (25)? If so, you’ll need to increase this so that more events are retrieved.

    Plugin Contributor Ross Hanney


    Marking as resolved. If you’re still having problems, let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp 3.5 events & future months not showing in ajax mode’ is closed to new replies.