• Resolved splntrdhands

    (@splntrdhands)


    I’m using the following shortcode for our calendar:

    [pretty_google_calendar gcal=”85f04119aaee9ed3c04aedc4c3f98e7180e3a6855a156e6cdfd76f996ba3c568@group.calendar.google.com, [email protected]” use_tooltip=”true”]

    Our main calendar is the 2nd Calendar ID. I’m testing out having different ministries having their own calendar thus the 1st ID is a calendar made inside of our main account.

    For some reason, only the 1st calendar inside of the quotations will show. If left current, the 85… one will show. If I swap them out, only the fbctwebsite…. one will show. So they both work with the API but won’t appear at the same time. Am I missing something?

    Also, once I get both working, is color-coding the 2 calendars an option?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author LBell

    (@lbell)

    The link you shared no longer works, so it’s difficult for me to see what might be going on.

    As for coloring the two calendars, you can do this with CSS:

    As of v1.7.0, each calendar gets it’s own CSS selector: pgcal-event-# where the # is the order of the listed calendar (starting with 0). So if you have two calendars in one, you can use pgcal-event-0 to style the first, and pgcal-event-1 to style the second calendar.

    Thread Starter splntrdhands

    (@splntrdhands)

    Sorry. The link is now fbcthibodaux.org/calendar

    Plugin Author LBell

    (@lbell)

    So if I’m understanding you correctly, only the first calendar is showing when you put in two calendars? Are they both controlled by the same API?

    Thread Starter splntrdhands

    (@splntrdhands)

    yes and yes

    Thread Starter splntrdhands

    (@splntrdhands)

    Looks like I may have figured it out. The code doesn’t like a space after the comma.

    Plugin Author LBell

    (@lbell)

    Nice catch! We’ll see about making that less stringent in a future release.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple Calendars’ is closed to new replies.