adamjenkins / moodle-block_oerexchangeshares
Dashboard block showing the logged-in OER Exchange account's own shared resources: title, publish status, version count.
Package info
github.com/adamjenkins/moodle-block_oerexchangeshares
Type:moodle-block
pkg:composer/adamjenkins/moodle-block_oerexchangeshares
v1.0.2
2026-08-01 08:00 UTC
Requires
- adamjenkins/moodle-local_oerexchange: *
- moodle/composer-installer: ^1.0
- moodle/moodle: >=5.0 <5.3
README
A Moodle Dashboard block for the OER Exchange platform — an open-educational-resources sharing platform built on Moodle. Shows the logged-in Exchange account's own shared resources so they don't need to navigate anywhere to see "what have I shared and how is it doing."
What it does
- Lists your own shares from the catalogue, most recent first: the resource's cover-image thumbnail (a neutral panel of the same size where there is no cover), title, publish status, and how many versions have been uploaded (failed uploads don't count). Every title links to its detail page whatever its status — the catalogue admits a resource's own creator even for hidden or taken-down resources, and that page carries the author's own controls (unhide, replace the file, delete).
- Shows a friendly message instead of a blank block if you haven't shared anything yet, and links to sharing a new resource from its footer.
- Read-only presentation layer: all data comes from the companion
local_oerexchangeplugin, which this block depends on and cannot be installed without.
Requirements
- Moodle 5.0–5.2 (
$plugin->supported). local_oerexchangeinstalled on the same site (declared via$plugin->dependencies).
Installation
git clone https://github.com/adamjenkins/moodle-block_oerexchangeshares.git blocks/oerexchangeshares php admin/cli/upgrade.php
Then add the "OER Exchange: your shares" block to your Dashboard via "Add a block."
License
GPL-3.0-or-later, see LICENSE.