Installing FullCalendar
Requirements
Composer
The composer installation, for anyone that comes across this page and is looking for it
- Run
composer require drupal/fullcalendar
to download the Drupal module to the modules/contrib folder. - 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. -
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" } } }
- 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
- Views
- Ctools (dependency of views)
- Date
- FullCalendar (external JS Library)
Drupal 6
- Views (For Views 3 use FullCalendar 6.x-2.x)
- Date (6.x-2.7 or later)
- jQuery Update 6.x-2.x (jQuery 1.3.x)
- jQuery UI (jQuery UI 1.7.x)
- FullCalendar (external JS Library)
cck is not strictly a requirement, but is generally used to create custom node types.
Installing the module
- Download a version of FullCalendar.
- Unzip the module.
- Move the module into the sites/all/modules/ directory.
Installing the plugin
- Download the most recent 1.x version of the plugin. The 2.x series currently is not supported.
- Unzip the plugin.
- 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
The composer installation,
The composer installation, for anyone that comes across this page and is looking for it
{
"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"
}
}
}