Drag and drop onto image
Maintained by
Tim Hunt, Chris Nelson, Jamie Pratt, Phil Butcher
As of Moodle 3.0, this question type is part of the standard Moodle release. That is why there is no plugin from Moodle 3.x. You don't need one!
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
If Piwik server is down, the page is displayed but is still loading. And finally the "loading" stops after a while. During the "loading", the drag-drop does not work. After, it works.
Until now, I faced this problem only with drag-drop questions that why I thought the problem could be between Piwik and this plugin.
When I tried to reproduce the problem on another Moodle, I had the same problem with the drag and drop area on the restore course page.
Now, I try to understand where the problem comes from : the piwik code, a JS library used by piwik and moodle, moodle code (the way the JS is loaded), ...
I apologize for my previous comment at the wrong place, I will report the bug to piwik or moodle.
Pascal
I face a problem using this plugin and Piwik : if the Piwik server is down, the drag and drop does not work.
Do you want me to open an issue on github (https://github.com/moodleou/moodle-qtype_ddimageortext/issues) or do you want more detais here first ?
I wonder how important the padding is for other types of question?
The culprit in the code is here: https://github.com/moodle/moodle/blob/master/question/type/ddimageortext/yui/src/ddimageortext/js/ddimageortext.js#L217 (and, if you change that, you would need to run the 'grunt' tool to have it take any effect. https://docs.moodle.org/dev/Grunt)
Note, these question types are now in Moodle core, so this question would be better in the quiz forum https://moodle.org/mod/forum/view.php?id=737
Is there possible to decrease the size of margin around the picture (decrease until "0" if possible) ?
We could then use that quiz type to generate timing dragram for electronic.