QR Code

Blocks ::: block_qr
Maintained by Philipp Memmel, ByCS Lernplattform
Adds a block to your course showing a QR code to a configurable target.
Latest release:
14 sites
16 downloads
1 fans
Current versions available: 1

Features

  • Generate QR codes directly from a block instance.
  • Multiple QR content modes (links, internal Moodle targets, event, geolocation, WiFi).
  • Configurable QR size per block instance.
  • Optional integration with a URL shortener service.
  • Multiple block instances are supported.
Available QR target modes

When editing a block instance, you can choose one of the following modes via Content

  1. Link to the current page
    Encodes the exact URL of the page where the block is shown.
  2. Link to this course
    Encodes the course URL and optionally allows a description text.
  3. Link to a section or activity
    Lets you select either:
    • a course section (`section=<sectionid>`), or
    • a course module/activity (`cmid=<cmid>`).
  4. Text/URL
    Encodes custom text or a custom URL (for links, use `https://...`).
  5. Event
    Encodes iCalendar-style event data including title, location, start, end, and all-day option.
  6. Geolocation (lat/lon)
    Encodes coordinates and can optionally include a map link target.
  7. WiFi
    Encodes WiFi setup information (SSID, hidden SSID flag, authentication type, optional password).

Configuration

Block instance settings

Each block instance can configure:

  • Content mode (see list above)
  • Mode-specific fields (e.g., section/activity target, event data, geolocation, WiFi settings)
  • QR size (`small`, `medium`, `large`)
Global plugin setting

The plugin supports a configurable short-link service URL (`configshortlink`).
If configured, a short-link action can be shown in block editing mode.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Philipp Memmel (Lead maintainer)
ByCS Lernplattform
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments