Calendar Configuration

The calendar dashboard gadget is extremely configurable as it is based on FullCalendar v7 and supports its configuration options in the "Advanced configuration" field. The field takes JSON and must use FullCalendar v7 option names, for example:

JavaScript
{
  "initialView": "timeGridWeek",
  "headerToolbar": {
    "left": "prev,next today",
    "center": "title",
    "right": "listWeek,timeGridWeek,dayGridMonth"
  },
  "slotMinTime": "08:00:00",
  "slotMaxTime": "18:00:00"
}

By default the gadget shows the "listWeek" view, with "listWeek", "timeGridWeek" and "dayGridMonth" view buttons in the toolbar.

Notes:

  • Configurations saved with older FullCalendar option names keep working: "defaultView", "header", "minTime" and "maxTime", and view names such as "month" or "agendaWeek", are converted automatically.

  • Format options given as strings (for example "titleFormat": "MMMM YYYY") and HTML content are ignored.

  • The "plugins", "eventSources", "eventClick" and "eventDataTransform" options can't be changed.

  • If the configuration can't be used, the gadget shows the default calendar and a "Calendar settings could not be used" message.