adamjenkins/moodle-block_oerexchangebrowse

Dashboard block for the OER Exchange platform: a compact search box plus recent/featured published catalogue resources, linking out to the full browse/search page.

Maintainers

Package info

github.com/adamjenkins/moodle-block_oerexchangebrowse

Type:moodle-block

pkg:composer/adamjenkins/moodle-block_oerexchangebrowse

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.3 2026-08-01 07:57 UTC

This package is auto-updated.

Last update: 2026-08-02 06:10:03 UTC


README

A Moodle Dashboard block for the OER Exchange platform: a compact search box plus a handful of recent published resources from the catalogue, linking out to the full browse/search page for anything beyond a quick glance.

Requires local_oerexchange, the catalogue and API plugin for the OER Exchange, to be installed on the same site. Installing this block without it will fail — Moodle enforces the dependency declared in version.php.

What it shows

  • A search box that submits straight to local_oerexchange's catalogue page (index.php) with the query pre-filled — the block itself does not duplicate any search logic.
  • Up to five of the most recently shared, published resources: the resource's cover-image thumbnail, its title (linked to the detail page), a short trimmed summary, and the license. Rows read thumbnail-left, text-right; a resource with no cover image gets a neutral panel of the same size, so the list stays aligned either way.
  • A "View full catalogue" link to the full browse/search page.

Installation

git clone https://github.com/adamjenkins/moodle-block_oerexchangebrowse.git blocks/oerexchangebrowse
php admin/cli/upgrade.php

Then add "OER Exchange: browse" to a Dashboard from the block drawer.

Requirements

  • Moodle 5.0–5.2 ($plugin->supported).
  • local_oerexchange installed on the same site.
  • PHP as required by the target Moodle version.

License

GPL-3.0-or-later, see LICENSE.