Fabrik Full Calendar Plugin 4.3.3

Version
4.3.3
Maturity
Stable
Release Date
2024-08-06 00:00
Changelog
Bug Fix
2024-08-22 Corrected the showon for validation options on the drag & drop tab.
Bug Fix
2024-08-21 Change how we determine which date element is being used.
Bug Fix
2024-08-21 Handle the JDate element. It does not support allowed dates.
Notes

This release of FullCalendar upgrades it from V3 to V6.1.15. There was a considerable amount of rewriting required for the Fabrik Fullcalendar Visualization. Most of the code is new. There are bound to be some issues.

There are a number of new options for configuring the presentation of the calendar and these can be found on the Presentation tab for the visualization. Please reveiew them.

This version of FullCalendar supports Drag and Drop. You can now drag a calendar entry to another location on the calendar and drop it there, should you configure the calendar to allow it. You have some options as far as validating whether the drop is legal or not. 

  • None: no validations are done and the drop is processed
  • Inline: When a drop occurs, FC will run any Date element allow date javascript function , and check any PHP allowed dates, for both the start date and end date elements. If either fails the drop is not allowed.
  • Edit: When a drop occurs Inline validation happens first to determine quickly if the basic validation passes. If it does, the form is opened in edit mode, with the start and end dates updated to the new dates. Form submission will validate any complex validations required.

Reminder: If you are using any moment calls in your javascrtipt these need to be migrated to luxon.

Navigating the calendar is now more flexible and configurable. 

  • You can configure the types of navigation, next, previous, next year, previous year, today. You choose which you want and in what order.
  • You can choose the navigation syle: buttons, icons, buttons with icons (this applies to the Month, Week, Day icons as well)
  • You can determine whether the navigation is at the top or the bottom or both.
  • You may have gaps betwen the navigation buttons/icons, or fit them adjacent to each other.
  • If you chose icons, by themselves or on buttons, you may choose the icon you wish to show. We have set a default for each which should suit most customer needs.

With this version we have elliminated maintaining a copy of FullCalendar and supporting libraries within the plugin. All js & css required for these libraries is loaded via cdn.

Installation Notes

There are a number of B/C changes required to make when installing this new version. 

  • This version of FC drops support for the moment library and replaces it with the Luxon library. If you have any custom javascript that runs in any of the form elements that uses the moment library you will need to migrate the code to Luxon. Details of this migration can be found here.
  • With Luxon, the first day of the week now starts at 1 for Monday through 7 for Sunday. You will need to check your vis options for first week day.
  • If you have FullCalendar overrides configured on the FC Options tab, you will need to ensure these are updated. Most have changed. Please check here for details.

If you are using a language other than en-GB, the en-GB file indicates the language strings that have changed, and the new ones. If you update a language for your locale, please feel free to send it to us so we can include the updated language file with the plugin.