Install
Works with Drupal: ^9.2.0 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is a bug fixing release.
The changes since 5.1.12 are:
- #3243435: Switch to list view on mobile
- #3295799: Missing schema for views.style.fullcalendar_view_display
- #3373865: W3C Validator: Attribute calendar-view-* not allowed on element div at this point.
- #3320044: External libraries causing an unexpected error.
Note:
This new version modify one of the view template twig file. So clearing cache after upgrading to this new version is critical.
If your theme/module/patch overrided the calendar view template, you have to make sure following template variables available to your view template and are appropriate populated.
* - options: View plugin style options:
* - classes: CSS classes.
* - defaultDate: Default date of the calendar
* - start: Field name of start date
* - end: Field name of end date
* - languageSelector: Flag for the language dropdown box
* - view_index: View index
* - view_id: The id of the view
* - display_id: The view display id
* - showAddEvent: Show add event button
* - entity_id: The Entity type machine name
For example, your template must have the following line.
<div class="js-drupal-fullcalendar" data-calendar-view-index="{{ view_index }}" data-calendar-view-name="{{ view_id }}" data-calendar-display="{{ display_id }}">
</div>