Course Control Hub: Course dates

Blocks ::: block_coursectrldates
Maintained by Ralf Erlebach
A companion block for the Course Control Hub Moodle plugin. The block displays upcoming course activity dates directly on the course page and lets editing teachers open the Course Control Hub shift workflow without leaving the course.
Latest release:
7 sites
45 downloads
1 fans
Current versions available: 1

Course Dates Block (block_coursectrldates)

A companion block for the Course Control Hub (local_coursectrl) Moodle plugin. The block displays upcoming course activity dates directly on the course page and lets editing teachers open the Course Control Hub shift workflow without leaving the course.

Features

  • Mini calendar — configurable 1–6 week view from today, highlighting days with upcoming activity dates
  • Chronological event list — groups upcoming dates by day → time slot → activity entry, sorted chronologically
  • Shift buttons — slot, following, and per-entry shift links that open local_coursectrl/timeline.php with the shift dialog pre-opened (only shown to users with local/coursectrl:bulkaction capability)
  • Termin-Assistent — context-aware notification card that appears when new course content is detected (course newly created or imported, reset, or time-dependent activities added); configurable triggers, time window, and dismiss behaviour

Requirements

  • Moodle 4.5 – 5.2
  • PHP 8.1 or later
  • local_coursectrl 1.2.0 or later (version 2026051100+)

Installation

  1. Copy or clone this repository into blocks/coursectrldates/ inside your Moodle installation.
  2. Ensure local_coursectrl is installed and up to date.
  3. Visit Site administration → Notifications to trigger the plugin installation.
  4. Add the block to a course page via the block drawer.
 

Privacy

The block stores no personal data of its own. Two Moodle user preferences per block instance are used to track dismiss and force-show state:

  • block_coursectrldates_splash_dismissed_<instanceid> — permanent dismiss flag per user
  • block_coursectrldates_force_show_<instanceid> — one-shot force-display flag per user

Both preferences are deleted when the block instance is removed. They are exported via Moodle's Privacy API.

Screenshots

Screenshot #0

Contributors

Ralf Erlebach (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments