Installing FullCalendar

Requirements

Composer

The composer installation, for anyone that comes across this page and is looking for it

  1. Run composer require drupal/fullcalendar to download the Drupal module to the modules/contrib folder.
  2. Run composer require --prefer-dist composer/installers to ensure that you have the composer/installers package installed. This package facilitates the installation of packages into directories other than /vendor (e.g. /libraries) using Composer.
  3. Add the following snippet to the repositories section of the composer.json file in your Drupal root folder:
    {
        "type": "package",
        "package": {
            "name": "fullcalendar/fullcalendar",
            "version": "3.9.0",
            "type": "drupal-library",
            "dist": {
                "url": "https://github.com/fullcalendar/fullcalendar/archive/v3.9.0.zip",
                "type": "zip"
            }
        }
    }
  4. Run composer require --prefer-dist fullcalendar/fullcalendar:3.9.* and composer will download the Fullcalendar library to the right location

Drupal 8

  • This module, FullCalendar, version 8.x-1.x-dev
  • JavaScript library FullCalendar, version 3.3.0 or later, installed to directory specified under admin/config/user-interface/fullcalendar

Drupal 7

Drupal 6

cck is not strictly a requirement, but is generally used to create custom node types.

Installing the module

  1. Download a version of FullCalendar.
  2. Unzip the module.
  3. Move the module into the sites/all/modules/ directory.

Installing the plugin

  1. Download the most recent 1.x version of the plugin. The 2.x series currently is not supported.
  2. Unzip the plugin.
  3. Move the plugin into the sites/all/libraries/ directory.

Note:
When unzipped, the plugin contains several directories. The fullcalendar/fullcalendar directory should be moved to sites/all/libraries/fullcalendar
(e.g., sites/all/libraries/fullcalendar/fullcalendar.min.js).
Do not include the demos or lib directories.

If you are using drush, enable the fullcalendar module and then use the command: drush fullcalendar-plugin to download the correct version of the plugin and move the files accordingly.

Video Tutorials

There's a video series covering the FullCalendar module at ModulesUnraveled.com. Watch the intro video below:

Comments

richard.lampitt’s picture

The composer installation, for anyone that comes across this page and is looking for it

  1. Run composer require drupal/fullcalendar to download the Drupal module to the modules/contrib folder.
  2. Run composer require --prefer-dist composer/installers to ensure that you have the composer/installers package installed. This package facilitates the installation of packages into directories other than /vendor (e.g. /libraries) using Composer.
  3. Add the following snippet to the repositories section of the composer.json file in your Drupal root folder:

    {
    "type": "package",
    "package": {
    "name": "fullcalendar/fullcalendar",
    "version": "3.9.0",
    "type": "drupal-library",
    "dist": {
    "url": "https://github.com/fullcalendar/fullcalendar/archive/v3.9.0.zip",
    "type": "zip"
    }
    }
    }

  4. Run composer require --prefer-dist fullcalendar/fullcalendar:3.9.* and composer will download the Fullcalendar library to the right location