WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Events
[resolved] Month Navigation (21 posts)

  1. wadams92101
    Member
    Posted 2 years ago #

    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/

  2. Mindshare Studios, Inc.
    Member
    Posted 2 years ago #

    Same problem here! I've tried refreshing the feed, changing the number of events to 100, etc.

  3. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  4. Mindshare Studios, Inc.
    Member
    Posted 2 years ago #

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

  5. rickymurphy
    Member
    Posted 2 years ago #

    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

  6. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  7. rickymurphy
    Member
    Posted 2 years ago #

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

  8. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  9. rickymurphy
    Member
    Posted 2 years ago #

    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.

  10. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

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

    Ross

  11. rickymurphy
    Member
    Posted 2 years ago #

    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

  12. vogtadi
    Member
    Posted 2 years ago #

    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)

  13. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  14. vogtadi
    Member
    Posted 2 years ago #

    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

  15. bluefootpirates
    Member
    Posted 2 years ago #

    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!

  16. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

    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

  17. bluefootpirates
    Member
    Posted 2 years ago #

    I initially had it set to 0 because the program says putting 0 will display all events. But, I just changed it to 100 and the calendar remained the same. Might there be another problem?

    Thanks Again!

  18. Ross Hanney
    Member
    Plugin Author

    Posted 2 years ago #

    I'm referring to the "Maximum number of events to retrieve" setting (in the plugin feed settings) not the "Maximum number of events to display" setting (in the widget settings).

    To find the "Maximum number of events to retrieve" setting, go to Settings > Google Calendar Events, then click the "Edit" link for your feed.

  19. bluefootpirates
    Member
    Posted 2 years ago #

    That worked thank you so much!!!! :)

  20. Debralonergan
    Member
    Posted 1 year ago #

    Hi;

    Where do I change the settings to Ajax if I'm using the shortcode on a page? I am using both the widget and the shortcode, and the navigation links show up in the widget, but not the Page. Please help!

    Thank you!

  21. Ross Hanney
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    In the shortcode, set the type parameter to ajax, like this:

    [google-calendar-events type="ajax"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic