For anyone having trouble with MM calendar not displaying their Google calendar correctly, please read on…
The default calendar module in MM works very well. The developers deserve a lot of credit.
You first have to understand how Google calendar works.
-
My Google Calendar: I assumed that if it was in My main Google Calendar, it would show in my MM calendar.
This is not true. Google just conveniently merges all of your calendars into one.
For instance, In my Google Calendar settings, I added a “Holidays in the United States” additional calendar.
In settings, it has public url but no iCal format so it will never show in MM.
To get Holidays in the U.S. to display, I had to go outside Google calendar. See below in my config.
If you’ve subscribed to an addional calendar, like a sport team calendar from Stanza, in Settings look for
its Secret address in iCal format. If your calendar does not show this option, (only has a url) it won’t show
in MM. It must start with an http and end with .ics. -
Birthdays: In your Google calendar, there is a checkbox to display birthdays.
This works great as long as the person is in your Google contacts and you have set their
birthdate INSIDE the contact details. If you just added a persons birthday to your
calendar as a recurring event like I did, the checkbox to display Birthdays is meaningless.
Also in case you did not know, there are tons of calendar symbols at https://fontawesome.com/icons?from=io
that work natively in the calendar module.
Here is my config that works. (But hiding my credentials, of course)
{
module: "calendar",
header: "My Calendar",
position: "top_left",
config: {
calendars: [
{
symbol: "birthday-cake",
maximumNumberOfDays: 60,
url: "https://calendar.google.com/calendar/ical/xxxxxx%40gmail.com/private-xxxxxxxx/basic.ics",
user: 'xxxxxxxx@gmail.com',
password: 'xxxxxxxxxxx',
method: 'basic'
},
{
symbol: "hockey-puck",
url: "https://calendar.google.com/calendar/ical/xxxxxxxstanza calendar/private-xxxxxxxxxxxxxxx/basic.ics",
},
{
symbol: "football-ball",
url: "https://calendar.google.com/calendar/ical/xxxxxxstanza calendar/private-xxxxxxxx/basic.ics",
},
{
symbol: "glass-cheers",
url: "https://www.officeholidays.com/ics-fed/usa"
},
]
}
},
Please feel free to add anything about Google calendar integration that I missed.