Moodle plugins directory: Drag and drop onto image | Moodle.org
Drag and drop onto image
Question types ::: qtype_ddimageortext
Maintained by Tim Hunt, Jamie Pratt, Phil Butcher
Part of set Open University.
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!
Latest release:
81 sites
36 downloads
89 fans
Current versions available: 6
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!
There are working examples in eAssessment with Moodle on our OpenLearn site.
The documentation is in How to create questions in Moodle on that site.
Demonstration of this question type courtesy of Dot Garman.
Contributors
Tim Hunt (Lead maintainer)
Jamie Pratt: Developer
Phil Butcher: Question type designer
Colin Chambers: Developer
Please login to view contributors details and/or to contact them
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.
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
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 ?
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