Moodle plugins directory: Drag and drop into text | Moodle.org
Drag and drop into text
Question types ::: qtype_ddwtos
Maintained by Tim Hunt, Jamie Pratt, Mahmoud Kassaei, Phil Butcher
Part of set Open University.
A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.
Latest release:
71 sites
35 downloads
56 fans
Current versions available: 6
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
Mahmoud Kassaei: Developer
Phil Butcher: Question type designer
Colin Chambers: Developer
Please login to view contributors details and/or to contact them
Yes, You can tab through place holders and then using arrow buttons (up/right arrows take you forward and down/left arrows take you backwards through the list.
However, you can make this sort of question using drag-drop markers, and possibly the gapfill question type.
we have a puzzling problem concerned with the question type
„Drag and drop into text"
Moodle version: 2.9.1+ (Build: 20150716)
our situation is, we develop „Drag and drop into text" questions
in a particular course. Out of that course we can successfully export
questions of that type. In our case we made a backup of that
course. We are able to restore the course on another server (same Moodle Version)
with the .mbz-file. If we however try to export questions
from that newly created course (other Moodle instance), the export fails.
error message:
Can not find data record in database table question_ddwtos.
debugger:
Debug info: SELECT * FROM {question_ddwtos} WHERE questionid = ?
[array (
0 => '93',
)]
Error code: invalidrecord
Stack trace:
line 1453 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1429 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 109 of /question/type/gapselect/questiontypebase.php: call to moodle_database->get_record()
line 89 of /question/editlib.php: call to qtype_gapselect_base->get_question_options()
line 767 of /question/format.php: call to get_questions_category()
line 1767 of /lib/questionlib.php: call to qformat_default->exportprocess()
line 4361 of /lib/filelib.php: call to question_pluginfile()
line 37 of /pluginfile.php: call to file_pluginfile()
So I assume, that the backup prozess creates an .mbz-file that does not
include the SQL-Statement which inserts the records corresponding to that
type of question in the table mdl_question_ddwtos (I think they take care
of prefixes).
Is that a bug in Moodle ? How can we create fully functioning course on other
Moodle instances, i.e. course from which are able to export that (all) question type
Are there other dependencies ?
Best,
Sonja