This module implements a Drupal integration of the FullCalendar the most popular full-sized JavaScript calendar. This Drupal module is only compatible with the v3.x version of FullCalendar.
There are 2 ways of installing the Drupal module and the 3rd party FullCalendar library.
drupal/fullcalendar
to download the Drupal module to the modules/contrib
folder.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.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"
}
}
}
composer require --prefer-dist fullcalendar/fullcalendar:3.9.*
and composer will download the Fullcalendar library to the right locationmodules/contrib
folder.libraries/fullcalendar
inside your Drupal web root. When unzipped, the library When unzipped, the library contains several directories. The fullcalendar/fullcalendar directory should be moved to /libraries/fullcalendar i.e. in the root of your Drupal installation. (e.g., /libraries/fullcalendar/fullcalendar.min.js). You may not include the demos or jQuery directories.