ibrows/drupal_ics_field

Name: drupal_ics_field

Owner: PwC Experience Center

Description: A module providing a calendar download as an .ics file

Created: 2016-12-19 08:50:23.0

Updated: 2017-01-30 14:56:21.0

Pushed: 2018-03-28 01:12:58.0

Homepage: https://www.drupal.org/project/ics_field

Size: 101

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CONTENTS OF THIS FILE
INTRODUCTION

The ICS Field module provides a field type, along with a widget and a formatter that, when added to a node and combined with a Datetime field can be used for providing *.ics (iCalendar) files that can be used with an email/calendar client program.

REQUIREMENTS

This module requires the following modules to be installed:

and the following libraries to be available (autoloaded):

INSTALLATION
CONFIGURATION

The module provides no configuration. That being said, the following points are important:

  1. It assumes that the process through which Drupal is run has file and folder create permissions for the public:// filesystem. It will store all ics files into the public://icsfiles folder if a user specified folder is not given, and when not found it will try to create it.

  2. When adding a Calendar Download field to a content type, you are required to select a Datetime field from the same content type. That relation will allow the Calendar Download module to decide when generated events occur.

  3. The field makes an ~UNMANAGED~ copy of the file

USE OF TOKENS

The Calendar Download module supports using tokens inside the Summary and the Description sub-fields. Available tokens include the properties and fields of the given content type and are available through the UI as a list that can be click-inserted into the Summary or Description sub-fields.

While editing a node, by entering e.g. “[node:title]” into the Calendar Download's Summary sub-field and saving the node, the node's title will be inserted into the summary sub-field.

REFERENCES

The following links provide more information about the iCal format:

CONTRIBUTING

We use a Github pull request workflow. Each pull request should have a related and cross-linked drupal.org issue.

github

We welcome contributions in the following areas

develop: Codeship Status for ibrows/drupal_ics_field master: Codeship Status for ibrows/drupal_ics_field


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.