OER Hub questions

Created on 4 November 2020, almost 5 years ago
Updated 25 July 2025, 18 days ago

Problem/Motivation

I can see that lots of commits are being pushed to the 7 branch in preparation for the the OER Hub.

I'de like to ask if the 8/9 branch is keeping up in the same way?

Are the later branches fundamentally different because they are based on fields rather than a content type?

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom mrpauldriver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States illeace

    I did a little investigation into how to implement this. At the very least:

    • The admin H5P config form would need to provide a checkbox similar to D7's "Enable shared content in H5P Hub" option.
    • The "enableContentHub" hub value would need to be set in the settings in getEditorSettings() around line 55 of modules/h5peditor/src/H5PEditor/H5PEditorUtilities.php
    • The "enableContentHub" property would need to be added to the array of mapped properties in line 24 of modules/h5peditor/scripts/application.js

    These changes result in the "Get Shared Content" option appearing in the H5P hub editor. However, clicking the option doesn't actually work. No ajax call to load data is made. There are obviously more steps needed to enable this.

Production build 0.71.5 2024