fullcalendar_view
This is a View plugin module that provides a calendar view format powered by FullCalendar JavaScript library
Features (Community Edition Version):
- Day, week, month view
- Creating a new event by double clicking
- Event colors based on taxonomy or content type
-
- In-Place editing
- Event drag and drop
- Resize event (Only available for all day event)
- Create a new event via Drupal Off-Canvas dialog
- Recurring (Repeated) event
- Support Multilingual
- Popup Tooltip for event description
- Draggable and resizable modal for showing details of a calendar entry
Premium Version:
Most of the premium features have been implemented by other Drupal contribute modules, for example the Fullcalendar module.
- FullCalendar 6.
- Support simple recurring events out of box. https://fullcalendar.io/docs/recurring-events
- Support loading events via Ajax once needed (change view).
- RRule plugin
- All functionalities provide by the community version.
The premium version is in the planning stage, which will be a paying version under GNU General Public License v2.0 or later.
If you are interested in the premium version, please reach out to me via my contact form.
How to use:
- Install this module as usual.
- Create a view
- Select the Full Calendar Display as the view format
- Choose the fields for Title, Start date, End date (optional). The description field (showing in the pop-up dialog) is the last field of the fields list.
- Format settings (Default Date, field of start date, field of end date).
- Other view settings (optional), such as filter criteria, pager.
The Drush command to create a calendar view
drush fullcalendarview:generate --help
drush fcvg
Date field supported by this module
This module supports such fields from core as:
- timestamp;
- datetime;
- date range.
If you use other field type for the 'Start date' or 'End date' field, the calendar view might not be rendered as expected.
More information about how to use this module can be found in the following article.
All You Need to Know about a FullCalendar View Module
Recurring event:
You need a long plain text field to present the RRULE string for recurring logic of an event. For example,
DTSTART:20200302T100000Z
EXDATE:20200309T100000Z
EXDATE:20200311T100000Z
RRULE:FREQ=WEEKLY;UNTIL=20200331T120000Z;INTERVAL=1;WKST=MO;BYDAY=MO,WE
The rule above means a recurring event start from 2020-03-02 to 2020-03-31 and occurs every Monday and Wednesday except 2020-03-09 and 2020-03-11. The RRULE supports excluded time as well.
More information about the RRULE, please see the here
There is an online tool to generate an valid RRULE string.
Then go the view setting page to specify the field as the RRUle field which is under Format:Full Calendar Display->Settings->Recurring Event Settings->RRule Field for recurring events.
The duration field is optional, which specifying the end time of each recurring event instance. The field value should be a string in the format hh:mm:ss.sss, hh:mm:sss or hh:mm. For example, "05:00" signifies 5 hours.