Skip to main content

Calendar events data source in Dash

About the Calendar events data source and available fields, filters, and conditions (Pro only)

About

The calendar events data source allows you to list calendar events from across Moodle. This data source is useful for creating upcoming event timelines, displaying course deadlines, or providing students with a personalized schedule of their learning activities.

You can find these settings when opening the preferences of a Dash block.


Available fields

These are the building blocks available for your layout:

Events

  • Event title

  • Context of event

  • Start date

  • Start time

  • Event type

  • Context of event (linked)

  • Description

  • Go to activity

  • Location

  • End date

  • End time

  • Event duration

  • Event duration in minutes

  • Repeated event

  • Status

  • Event color

  • Event icon

  • Event Image URL

  • Event image

  • Event image (linked)

Details area

  • Details button

  • Details link

Note: For how to enable and arrange these fields, see Fields preferences. To configure how the details button and link behave, see the Details area preferences.


Available filters

These are the filters available in the data source:

  • Event type filter

  • Date

  • Day of week

Note: For how to enable these for your users, see Filters preferences.


Available conditions

You can restrict which calendar events are included in the block using the following rules:

  • Courses – Manually select specific courses to display.

  • Course categories – Limits data to courses within selected Moodle categories.

  • My groups – Only shows users who share a group with the viewer.

  • My enrolled courses – Only shows courses where the current user is enrolled.

  • Context of event – Select the Moodle contexts to filter where the events originate.

  • Event status – Filter events based on whether they are in the past, present, or future.

  • Day of week – Select specific days of the week to filter displayed events.

  • Date – Filter events based on today, upcoming, this week, or this month.

  • Associated to an activity – Filter events based on the completion status of their linked activities.

Note: For how to apply these restrictions, see Conditions preferences.

Did this answer your question?