Fill in the Blanks

Table Format/Layout for Advanced fill the blanks

Hi I was wondering if it was possible to create a table layout with set out columns for the user to imput number answers in the Advanced Fill the Blank content type? I've included a visual of what I'm trying to create. Some examples span more than 3 columns and can be up 9 columns across or more.

Any suggestions would be great. I'm currently just adding something like this on each line for a 3 column layout (not ideal as spacing is not always lined up from row to row):

2
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network

Creating an "End of Quiz" link to move forward

khewss's picture

Hi,

I've been using the Quiz options in H5P in my Moodle (v3.8) portal to create quizzes. However, I've found that whenever students complete their quizzes, they would have to close that browser window, in order to get back to the previous tabbed page. 

Is there a way to put a URL link at the end of the quiz, so students can "just click" to move forward to another topic/quiz or wherever I'd want them to move forward to? Although this is available in the Interactive Video option, where I can set a pop up window at the end of a video that allows URLs to be linked.

Adding .h5p activities programmatically to Drupal 8 nodes

Forums: 
I am using the H5P Drupal 8 module and am trying to inserting .h5p zip archives into newly created nodes through a script in a custom module.

I have tried to use the following code and am passing (to my knowledge) a complete $h5p_content array:

$H5PObj = H5PDrupal::getInstance();
$result = $H5PObj->insertContent($h5p_content, $contentMainId = NULL);

Am I missing something ? Do I need to call another function aside from insertContent()?

Pages