Support » Plugin: Simple Calendar - Google Calendar Plugin » [Plugin: Google Calendar Events] Month Navigation

  • Resolved wadams92101

    (@wadams92101)


    Hi I’m trying out your plugin. Has some really nice features. I’m trying to set it to navigation by month. Following the advice in one of your forum threads, I set the widget to calendar grid with ajax and I have events in the next month but it still won’t show the links to navigate forward or any other way to see into the next month? What is going wrong here?

    http://wordpress.org/extend/plugins/google-calendar-events/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Same problem here! I’ve tried refreshing the feed, changing the number of events to 100, etc.

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Hello,

    If you’re using the shortcode, you’ll need to set the type parameter to ajax. If you’re using the widget, set the “Display events as…” drop-down box in the widget settings to “Calendar grid – with AJAX”.

    If you’re still having problems, could you let me know your feed URL, so I can do some further investigation?

    Ross.

    I wound up fixing the issue on my site by re-installing the plugin files and refreshing the feed.

    I have the same problem with our site at http://trinityhornets.com/trinity-media/athletics-calendar-2/

    It’s set to pull 25 events, and the event listing (click View Printable Calendar) shows all events, but it just hangs when you try to view the next month on the ajax calendar.

    I’ve tried the latest version of the plugin and also uploaded version 0.6, but still have the same issue.

    Thanks

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Hello,

    Is your site part of a WordPress multisite network? I’ve had a couple of reports of issues like this with my plugin and multisite, so I’m wondering if it could be related.

    Ross.

    Yeah, it is part of a multisite network. Perhaps a network-wide plugin could be interfering with it?

    Plugin Contributor Ross Hanney

    (@rosshanney)

    The issue is that the Ajax request that is sent when you click the navigation arrows is being redirected from http://trinityhornets.com to http://trinitychurch2.dopplerinternet.com. This is considered to be “cross site scripting”, and is blocked for security reasons.

    I’m not sure what the solution is, to be honest. I’ll need to do some testing with multisite and see if I can figure anything out. I’ll let you know if I do.

    Ross.

    Is there a non-ajax monthly calendar that we can use? Even if the page reloads to advance to the next month, that would be fine.

    Plugin Contributor Ross Hanney

    (@rosshanney)

    No, I’m afraid not (bad practice, I know). I’m working on this for a future release though.

    Ross

    Ok, thanks, I’ve just switched to the HTML embeddable one Google gives out http://www.google.com/support/calendar/bin/answer.py?answer=41207

    I do have a similar issue on http://stadtfest.qv-meierhof.ch/. The interesting detail is, that the AJAX Calendar does NOT work on the main page of the blog, but it DOES work on every subpage (topics or individual articles).

    The calendar is embedded into the sidebar, so the code generated is the same on every page.

    Any help is appreciated.

    BTW
    the site is part of a server that servers multiple domains/pages (Multi-Site Setup)

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Hi Vogtadi,

    This seems to be due to JavaScript errors created by the LightBox Gallery plugin you have installed. I’m not sure exactly why it affects only the homepage, but removing the following file from your page fixed the issue for me:

    http://stadtfest.qv-meierhof.ch/wp-content/plugins/lightbox-gallery/lightbox-gallery.js

    Ross.

    Dear Ross,

    That was a very quick and very precise reply. Thanks a lot.

    I totally missed the error console, but even if I would have had a look at it, I guess, I never made a link between lightbox and the google calendar.

    I did fix the Lightbox Plugin by altering the following 3 lines in lightbox-gallery/lightbox-gallery.js.

    from
    jQuery(‘a[rel*=lightbox]’).lightBox();
    jQuery(‘.gallery a’).tooltip({track:true, delay:0, showURL: false});
    jQuery(‘.gallery1 a’).lightBox({captionPosition:’gallery’});

    to:
    if (jQuery(‘a[rel*=lightbox]’).length > 0) jQuery(‘a[rel*=lightbox]’).lightBox();
    if (jQuery(‘.gallery a’).length > 0) jQuery(‘.gallery a’).tooltip({track:true, delay:0, showURL: false});
    if (jQuery(‘.gallery1 a’).length > 0) jQuery(‘.gallery1 a’).lightBox({captionPosition:’gallery’});

    In order to avoid accessing “undefined” pointers (e.g. when the result of the query is empty).

    With that code fixed, the google calendar plugin is performing just fine.

    I tried to contact the plugin author and provide this information as well, so hopefully others can benefit from the fixed code too.

    Regards
    Adrian

    I am having the same problem on my website. It only allows me to scroll from June->July and I have events that span a couple of months after that. How do I fix it?

    My site is http://www.bluefootpirates.com

    Thank You!

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Hello,

    The calendar on your site is displaying exactly 25 events, so it looks like you might have the “Maximum number of events to retrieve” option set to the default.

    If you increase this option, the plugin will retrieve and display more events.

    Ross

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Plugin: Google Calendar Events] Month Navigation’ is closed to new replies.