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.
Is there any likelihood that the DnD questions may be ready for 2.6 by then?
-Derek
Thank you very much for help. All works. Have a Good Day!
It looks like the problem is that you have installed the question type plug in in the 'mod/' folder of your Moodle install rather than the 'question/type' folder and Moodle is telling you that what it assumes is your module code isn't as expected. Delete the directory mod/ddimageortext and reinstall the code in question/type/
See the instructions at the bottom of this page for details :
https://github.com/moodleou/moodle-qtype_ddimageortext/
Please also note you will need to install the gapselect question type too as 'ddimageortext' reuses code from that question type :
https://github.com/moodleou/moodle-qtype_gapselect/
"Plugin "mod_ddimageortext" is defective or outdated, can not continue, sorry.";
Debug info: Missing version value in version.php
Stack trace:
line 457 of /lib/upgradelib.php: plugin_defective_exception thrown
line 271 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1449 of /lib/upgradelib.php: call to upgrade_plugins()
line 269 of /admin/index.php: call to upgrade_noncore()
I'd appriciate you help to sort out this problem
Sorry for "spamming" here, I hadn't seen the documentation carefully. Verifying that image drag'n'drop and text drag'n'drop work perfectly in my 2.5!
The background color of all drop zones is different for different groups.
Drag items can only be dragged to a drop zone of the same group. The colours help the student to identify the groups of the drop zones.
Have you seen this documentation : http://labspace.open.ac.uk/mod/oucontent/view.php?id=470268§ion=5.4.2
J
define('QTYPE_DDIMAGEORTEXT_BGIMAGE_MAXWIDTH', 1000);
define('QTYPE_DDIMAGEORTEXT_BGIMAGE_MAXHEIGHT', 500);
define('QTYPE_DDIMAGEORTEXT_DRAGIMAGE_MAXWIDTH', 300);
define('QTYPE_DDIMAGEORTEXT_DRAGIMAGE_MAXHEIGHT', 250);
any body using this question type with aardvark?
However, copying the page, leaving the old one in place, is bad. The two copies are bound to end up inconsistent. The right thing to do is to move the old page to the new name. Also, that makes the old URL automatically redirect to the new one.
I have just deleted the copy, and done the move.
If you don't have permission to move pages, then send Helen Foster a message, and she will do it for you.
I hope you don't mind that:
This question type is now listed at http://docs.moodle.org/25/en/Question_types#Third-party_question_types
and the documentation page was copied (from http://docs.moodle.org/25/en/question/type/ddimageortext )
to http://docs.moodle.org/25/en/Drag_and_drop_image_or_text_question_type , in order to match the naming of other question types listed in Moodle Docs.
A work-around is to put the sound files in the question text, labelled A, B, C. Then have the student drag the letters A, B and C onto the diagram.
If you would like to try to implement dragging arbitrary HTML, then that would be great, but if you do it, please test carefully on a wide range of browsers.
I would like to know if there is a way to put some html on the response, the idea is i would like to have the alphabet as an image and i would like to ask the user to drag the correct sound on the correct letter, i think it could be really usefull for a lot of people working in teaching languages... i would like to modify the plugin but don t know where to start