This module is a Google Calendar add-on for the farmOS distribution.
It creates Calendar events on creation/update of logs in farmOS
Module is dependant on Drupal Google API PHP Client https://www.drupal.org/project/google_api_client for Google Oath2 Authentication.
$ composer require 'drupal/google_api_client:^4.3'
$ drush en google_api_client
See Also:
https://www.drupal.org/docs/contributed-modules/google-api-php-client/installation-and-configuration
- Download the repo, either by cloning it or by using the "Download as Zip" function from GitHub.
- Copy the folder (farm_calendar_events) (!not the zip) into
/www/web/sites/all/modules/farm/
. - Open your farmOS instance online. Go to
Administration -> Extend
. - Search for "calendar".
- Select it by clicking the checkbox and scroll down to the bottom of the page and hit
Install
- Finished
Calandar details need to be added to farm calendar /farm/settings/farm_calendar_events
Google API Credentials need to be added Google API Client /admin/config/services/google_api_client
https://www.drupal.org/docs/contributed-modules/google-api-php-client/google-api-console-configurations
Module creates Google Calendar events from logs, including:
- Log Date
- Log Name
- Log Notes
- Location
- Color Coding, green = done, orange = pending
- Calendar event ID based on log UUID
Adds Radio butons to all log types:
- On Add/Update - Updates calendar on save regardless of status
- If Pending - Updates calendar only if saved with status "Pending"
- If Done - Updates calendar only if saved with status "Done"
- Remove - Removes any calendar entries on save
Adds Calendar Settings menu with fields for
- Calendar ID
- Calendar URL
Adds an iFrame to menu toolbar to display Calendar
Calendar ID field added to settings menu.
Radio buttons added to logs to select if logs should be added to calendar based on status.
Current maintainers:
- Farmer ED - (https://github.com/Farmer-Eds-Shed)