• Resolved KaelinDesign

    (@kaelindesign)


    I want to display the calendar grid view, but right next to it, I want to display the next upcoming event from the same calendar. However, the list view skips the actual next event.

    I created the first calendar instance as a grid, then used the same id, and created another calendar as a list. (Ideally, I wouldn’t have to create a second calendar, I’d be able to use the shortcode function and query the id of the first, set a view variable to show the list, and a count variable to show one event. But extending the plugin is outside my timeframe right now. Please file that as a feature request?)

    The calendar in question has an event on March 1, which shows in grid view. But the list event shows the following event on March 10. Both calendar instances are set to start March 1.

    Screenshot of problem:
    https://drive.google.com/file/d/0B9YqcgZHjN1ibmtpTHVzYXNiTGc/view?usp=sharing

    Google calendar ID being used: aoghdrma3mt0csk415j5enkbng@group.calendar.google.com

    https://wordpress.org/plugins/google-calendar-events/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    What time does the event start? Is it an all-day event? Maybe check the timezone settings: http://docs.simplecalendar.io/timezone-settings/

    You could also try this just to be sure there aren’t any conflicts with other plugins or themes: http://docs.simplecalendar.io/troubleshooting-theme-plugin-widget-conflicts/

    (Ideally, I wouldn’t have to create a second calendar, I’d be able to use the shortcode function and query the id of the first, set a view variable to show the list, and a count variable to show one event. But extending the plugin is outside my timeframe right now. Please file that as a feature request?)

    This is actually done by design. Shortcodes with lots of attributes take a lot more processing so it was decided to set it up this way so that we can keep the speed optimized a bit better. Plus shortocdes that rely on attributes can be confusing for some users because it is pretty much like having to write code.

    Thread Starter KaelinDesign

    (@kaelindesign)

    Not sure what the problem was- I uninstalled and reinstalled the plugin, and it works fine. Probably the cache, I’m thinking.

    Plus shortocdes that rely on attributes can be confusing for some users because it is pretty much like having to write code.

    Well yes, but that doesn’t bother me. I just didn’t want to have to wrap my brain around figuring out the google calendar import when you’d already done such a nice job! Thanks for your prompt response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Grid and List view of same calendar don't match’ is closed to new replies.