Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

WordPress default roles

Forums: 

Hi,

We have a scenario where we would like WordPress editors to be able to install new libraries / content types.

Looking at your class-h5p-plugin.php line 631

<code>self::map_capability($role, $role_info, 'manage_options', 'manage_h5p_libraries');</code>

I can change that to an editor capabaility to fo this, but don't want to hack the core code.

Any suggestions? Would you be able to add a filter so we devs can return their own set of permissions, or perhaps in the H5P settings allow an option for minimum capability to install new libraries.

forking a specific content type in Moodle

Forums: 

Hello all,

I have a question I could not find the answer to on this forum. 
I'm using the content type "Column" within my MOODLE 3.7 environment. 
Within this column, I'm using the content "text".

This content (text) i would like to fork, so that teachers could select the fork, and (for instance) allways have the right settings.. (such as lettertype, font size of background color).

Where can this be done within Moodle? 

Thank you!

Getting Started with xAPI

Forums: 

Hello,

I'm interested in sending xAPI statements from H5P content types. I'm following the instrutions here: https://h5p.org/documentation/x-api and trying to get an xAPI statement to appear in the console with no luck. I have tried with an interactive video on the H5P site and one on my own site. I toss the following code in the console, answer a question and get nothing. Can anyone help me out?

Pages