Moodle plugins directory: Drag-and-Drop Matching | Moodle.org
Drag-and-Drop Matching
What Drag-and-Drop Matching Offers!
Matching questions in Moodle are created by supplying several questions and their correct answers. Enhance the matching questions of the quiz by adding a drag-and-drop interface. Hence promotion a fun and relaxing learning environment.
For further details on this plugin kindly read the documentation available : https://dualcube.com/docs/drag-and-drop-matching/
-
Automatic Answer Space Generator - No need to break a sweat as a predefined space is created whenever the matching quiz appears.
-
Mutiple Option as Answers - Students need to simply select the correct answer from the option list. This helps create a better learning environment and saves time.
-
Enhanced user interface - The drag-and-drop interface is extremely simple to use, as students simply 'drag' and 'drop' the correct answer.
-
Automatic Grading - After responding to the quiz, the student will automatically receive a grade based on their input.
Try out this easy to use solution if you want to make learing activities fun.
1) We use "Drag-and-Drop Matching" questions with Tex. in 2.6 no one Tex formulae not displaed.
2) "Drag-and-Drop Matching" - several box which student can move with mouse, but in 2.6 this question looks like usual match question - just dropdown list.
As I said I am totally unable to reproduce your problems: my drag and drop question are working in Moodle 2.6 with no problem and my TeX formulas are displayed both in the subquestions and in the answers. Sorry it must be something with your system, your theme or your version of the ddmatch plugin.
I installed the plugin on moodle 2.7. When I preview a question a normal, pulldown-matching question is displayed.
Best regards
Sebastian
Thanks for reporting the problem.
It's caused by the fact we were testing if Ajax was enabled using $CFG->enableajax but in Moodle 2.7 it is no more defined and ajax is always considered enabled.
I need to release a new version for Moodle 2.7
In the meantime if you need a quick fix and you know how to edit a php file, you can solve the problem editing question/type/ddmatch/renderer.php lines 70_85 just replacing
/**
* Check whether drag and drop is supported
*
* @return boolean Whether or not to generate the drag and drop content
*/
protected function can_use_drag_and_drop() {
global $USER, $CFG;
// Note: The screenreader setting no longer exists from Moodle 2.4.
if (!$CFG->enableajax || !empty($USER->screenreader)) {
return false;
}
return true;
}
by just :
/**
* Check whether drag and drop is supported
*
* @return boolean Whether or not to generate the drag and drop content
*/
protected function can_use_drag_and_drop() {
return true;
}
So that the function always return true and the drag and drop interface is used.
wow, that was fast! Thank you very much for your answer and the quick fix. I'll replace later today.
Best regards
Sebastian
"!! Coding error detected, it must be fixed by a programmer: Question type ddmatch 95753: is missing important code (the file /var/www/html/totaralms/question/type/ddmatch/db/upgradelib.php)"
in out Moodle 1.9 to 2.2 upgrade log.
After that all quizes with qtype_ddmatch questions stopped working in Moodle 2
What is the reason for that? What have we done wrong?
The only way to cancel pending installation of the qtype_ddmatch plugin is to completely delete the question/type/ddmatch folder on your server.
Cannot find this release...
Just confirming that the code changes to render.php worked like a charm on v 2.7. Thanks so much!