Google Calendar Service config page
View of the Calendar List page.

Google Calendar Service provides the functionality to create the calendar and sync calendar events in the Drupal system.The calendar events can be imported with specific range time or choosing to import all. This functionality is designed for sites which want to keep and
track all calendars events. The sync work on both directions, an event added to the configured Google Calendar ID on Drupal will be imported to corresponding Google Calendar.

INSTALLATION

  • Run "composer require google/apiclient" before manual installation.
  • The module can be installed like other modules, refer to the official documentation on how to install modules with composer
  • Once the module has been installed, navigate to "/admin/config/google-calendar-service/settings"" and configure the settings.

CONFIGURATION

  • Navigate to "/admin/config/google-calendar-service/settings"
  • Go to https://console.developers.google.com/projectcreate and create your
    project, you can find more detailed instructions in Step 1: Create a project
  • You will neeed to create a service account in your project, in the project's Dashboard, click on "APIs & Services" and follow the instructions in Step 4: Create the service account
  • Update the calendar you want to use for the module, in the google calendar settings, look for the "Share with specific people or groups" option, and add a new user under "Share with specific people", enter the service account email address, you can find this e-mail address in the "Service account details" page.
  • Then go to "/admin/config/google-calendar-service/settings" and upload the JSON file you just created in step 3, and use the service account e-mail in the "Google User Email" field (NOT your google e-mail).
  • Go to /calendar/add and add the calendar you want to use:
    Name: Add the name you want for the calendar, this will be the name of the Calendar Entity in the Drupal site.
    Google Calendar ID: Your google e-mail
  • Click on "Save" and then go to /calendar, you will see the calendar you just created in step 6, under the "Operations" column, click on "Import Events", it will take a bit for the events to be imported, after that you should be able to see all the events in that calendar.

How to use

After module is installed and Google API is configured go to "/calendar" and Add your calendar.
Now you can import/export your events.

The module has been developed in parallel with this but has a late release.

Supporting organizations: 

Project information

Releases