Developers

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

h5pmod: how to add new objects to semantics.json in multichoice?

Forums: 

Hi there

 

while experimenting with the h5pmod on moodle (currently writing my thesis about the h5p developer modes) I've been trying to change some of the properties in semantics.json of h5p.multichoice and to add new objects to that file. 

More precisely, I want to create an overall feedback template, which provides like two score ranges and feedback text lines each. So far, I used the pathfinder and the property adaption like this:

$newoverallFeedback= find_semantics_path('overallFeedback/overallFeedback/overallFeedback', $semantics);

Pages