Outdated CSS in H5P Column Module on Moodle

hdstockimages's picture
Forums: 

Hello everyone,

I’m reaching out to the H5P community regarding a challenge I'm facing with the Column module in Moodle, specifically when using the official H5P plugin.

Issue at Hand: It seems that the CSS styles for the Column module on my live Moodle site are not current. I’ve made several attempts to update the module through both the H5P Hub interface and the Site Administration settings (mod/hvp/library_list.php), but both approaches confirm that the module is up-to-date. However, I’ve noticed that the Column module on my development site applies different, updated CSS styles.

Seeking Solutions: I need a way to force an update or possibly reinstall the Column module, but I’ve run into a dead end since there’s no direct link for downloading the module from the H5P site.

Has anyone here faced a similar dilemma or discovered a method to trigger a module update? I would greatly appreciate any help or suggestions you might have. Thank you!

otacke's picture

By temporarily setting

$CFG->mod_hvp_dev = 1;

in moodle's config.php file will allow to overwrite/reinstall existing libraries using the H5P plugin for moodle.

You can download the demo content from https://h5p.org/column using the "Reuse" button and then upload the content via the H5P Hub. That will install missing libraries and with the config option in place also re-install libraries from the file (cmp. https://snordian.de/2022/12/31/why-cant-i-upload-h5p-content/).

Then make sure to clear all caches, just to be sure and to remove the extra line from config.php.