My Certificates is a Moodle block plugin that displays user-earned certificates in a clean, card-based grid with live PDF previews. It integrates with the Custom Certificate module to provide a single, visual place for learners to view and download their certificates.
Ideal for dashboards, course pages, and the site home page, it highlights completed certificates and optionally shows other certificates users can unlock next.
- Certificate Grid: Displays earned certificates in a responsive card layout
- PDF Previews: Renders certificate previews in-browser with PDF.js
- Template Certificate Names: Shows certificate template name (fallback to activity name when needed)
- Download Links: One-click access to the official certificate PDF
- Configurable Empty State: Rich-text "no certificates" message per block instance
- Custom Block Title: Optional per-instance block title
- Display Toggles: Fine-grained controls for card fields and the "all certificates" list
- Color Customization: Gradient/monotone styles for main cards and all-certificates section
- Reset Colors Button: One-click reset of all style fields to defaults
- Accessible Markup: Semantic structure and ARIA-friendly output
- Moodle 4.5 or higher
- PHP 8.1 or higher
- Custom Certificate module (mod_customcert) version 2024042212 or higher
- Log in as an admin and go to Site administration > Plugins > Install plugins.
- Upload the ZIP file with the plugin code.
- Check the plugin validation report and finish the installation.
Copy the plugin directory to:
{your/moodle/dirroot}/blocks/my_certificates
Then visit Site administration > Notifications to complete the installation.
Alternatively, you can run:
$ php admin/cli/upgrade.php
- Enable editing on your dashboard, course page, or site home page.
- Click “Add a block”.
- Select “My Certificates”.
In the block configuration you can:
- Set a custom Block title
- Set the No certificates text using the rich text editor
- Enable/disable the Show all certificates section
- Show/hide certificate preview
- Show/hide certificate name
- Show/hide course name
- Show/hide certificate date
- Show/hide download button
- Show/hide certificate name in list rows
- Show/hide course name in list rows
- Main certificate card:
- Gradient or monotone mode
- Gradient direction
- Gradient start/end colors
- All certificates section:
- Gradient or monotone mode
- Gradient direction
- Card background gradient start/end colors
- Row background and hover background colors
- Accent color
- Reset colors to defaults button for all color fields
- The block does not create new database tables.
- All certificate data is read from Custom Certificate tables.
- PDF rendering is client-side using PDF.js.
- If UI text or styling changes are not visible immediately, purge Moodle caches.
This plugin does not store personal data. It only displays existing data from Moodle core and the Custom Certificate module. It implements the Moodle Privacy API as a null provider.
2026 Agiledrop ltd. developer@agiledrop.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.