Purpose
The purpose of this article is to demonstrate how to link a Google calendar to a Moodle course
Note
If you plan to link a Google calendar to your course, it is advisable that you create a different Google calendar for each course, each semester!
Procedure
Go to your Cochise Google Calendar. Click on the gear icon in the top-right corner and choose settings
In the left menu, choose Add calendar and then Create new calendar
Type a name and description, such as the course name and the semester (DMA 111 SP22, for example). Click on the Create calendar button
Return to your list of calendars. Find this one in the list. Click on the three vertical dots to the right of the calendar title and choose Settings and sharing
Mark the box for Make available to the public
It will ask if you are sure. Click Ok
Scroll down to the Integrate calendar section
Copy the URL that is listed under Public address in iCal format
Go to Moodle
Locate the calendar block in your course. Click Import or export calendars at the bottom of the block
Select Import Calendar
Provide a calendar name
Paste the link you retrieved from the Google calendar
Select your desired auto update interval
Click on the Import calendar button
The Google calendar items will now appear in your Moodle calendar. Now that the Google calendar is linked, you can force an update anytime by clicking on the Update button
You can unlink this calendar from the course anytime by clicking the Remove button.
=============
Sync Moodle Course Calendar to Google Calendar
If you desire to link the calendars in the “other direction,” you can link from Moodle calendar to your Google calendar.
Refer to the documentation at Moodle.org: https://docs.moodle.org/311/en/Using_Calendar
Locate the calendar block in your course. Click Import or export calendars at the bottom of the block
Select Export Calendar
Select desired Events to export and the Time period
Click on the Get calendar URL button and be sure to copy the URL that appears below
Go to Google Calendar
Click on the plus (+) sign next to "Other calendars" on the left side of the screen. Then select "From URL" within the menu that appears
Paste in the Moodle calendar URL that you copied and then click the Add calendar button
The events from your Moodle calendar will now appear on a new calendar within your Google Calendar account named after the URL that you used to connect them. You can rename that calendar if desired and add notifications to its events using the Google Calendar settings.