Aportación realizada por Joseph Rézeau

Imagen de Développeurs Imagen de Développeurs de plugins Imagen de Testeurs Imagen de Traducteurs

Hello Sébastien,

Oui, ta solution fonctionne bien avec le plugin externe H5P (icône noire), mais pas avec l'activité H5P intégrée à Moodle (banque de contenus, icône bleue). C'était le sens de mon rapport de bogue, qui a été rejeté. C'est tout.

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi Linus,

Thanks for the link and for the examples provided, which make it quite clear how your qtype works. It does work but IMHO is very limited. Are you aware of the other 3 types of Moodle qtype which use regular expressions?

https://docs.moodle.org/en/Regular_Expression_Short-Answer_question_type (my own question type)

https://docs.moodle.org/405/en/Pattern-match_question_type

https://docs.moodle.org/405/en/Preg_question_type

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Using Moodle 4.5+ (Build: 20241025) and default Boost theme, just noticed this very annoying Help display bug! So not related to Linus's question type at all. Same bug using the Classic or Trema themes.

Hope a fix will be found soon. Is there a bug report for it already?

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi Linus,

By removing the install.xml file I have indeed managed to install your question type on my local host Moodle site.

Bug: if one clicks on one of the Help buttons, the help is displayed, but then it is impossible to un-display that help!

I still have no idea how you mean this question type to be used. Please provide real examples of questions, with their associated correct and incorrect answers. Please post a link to your example usage file when you have published it. 😉

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi / Bonjour Clément,

There is obviously something wrong with your Drag the Words library on your Moodle site.

  1. When you create a new Drag the Words activity on your Moodle site Content Bank,
    1. is your current language set as English or French? I'm asking because there is a strange mix of English and French messages displayed on your screenshot.
    2. only one feedback Score range should appear.
  2. Did you download to your Moodle site any Drag the Words files from another Moodle site ? from Lumi or some other platform?
  3. On the H5P forum at https://h5p.org/comment/52773 you posted one H5P Drag the Words content, which I found out  was corrupted and I could post a fixed version there. Now it seems that not only that file was corrupted but also maybe your H5P Drag the Words library on your Moodle site is corrupted.
  4. If you create another content which contains Feedback fields, are they working OK or not? for example: Multiple Choice
  5. The error message image.pngis taken from the French language file to be found here on your site: "MOODLESITE/moodledata\lang\fr\h5plib_v124.php". This shows that you are using h5plib_v124 on your Moodle site, a version which is outdated and has problems as reported in this length discussion at: https://moodle.org/mod/forum/discuss.php?d=462407. Maybe updating your Moodle site to a more recent version would solve the problem. Currently on my Moodle 4.5 site the version is h5plib_v127.