From an initial requirement to access critical infrastructure data securely, the resilience project IDs want to include QR Codes as a novel means to include supplementary information, such as maps of critical infrastructure or answers to knowledge checks. Here is the user story:
In this section, we will be building a dedicated QR Code block--based on the QR Links plugin by Catalyst IT (see https://moodle.org/plugins/local_qrlinks). You can download the code described in this section from https://github.com/iandavidwild/moodle-block_qr_code. Here is the block in action:
Scanning the code will provide a link to a geographically accurate map of the London Underground.
Let's now start developing our new block. Firstly, we need to create a new folder under blocks called qr_code:
That done, there are four files we need to create in order to implement our new Moodle...