← Back

Dynamic Time Block for Moodle™

Displays current time dynamically on course pages with real-time updates.

Version v1.0.0
Compatibility Moodle 4.1+
Status Stable

Overview

My first Moodle plugin, created as an initial test.

A Moodle block plugin that displays the current time dynamically on course pages. The time is rendered using JavaScript for real-time updates without needing to reload the page.

Features

  • Shows the current time in a block.
  • Time updates automatically without page reload.
  • Permissions for teachers, managers, and users to add the block.

Usage

  • Add the block to any course or dashboard.
  • The time will appear and update automatically.

Permissions

  • block/dynamic_time:addinstance: Allows adding the block to courses (editing teachers, managers).
  • block/dynamic_time:myaddinstance: Allows users to add the block to their dashboard.