Question types: Drag-and-Drop Matching

qtype_ddmatch
Maintained by Picture of DualCube Team DualCube Team
Question type similar to the matching question type but with a drag and drop interface for the students during attempt.
2320 sites
787 downloads
40 fans

Created by Adriane Boyd during 2007 Google Summer Of Code, the drag and drop matching question type is quite similar to the matching question type found in standard Moodle, differences are:

  • during question creation/edition of drag and drop matching questions, an editor is available for each answer (in standard matching question this is not possible because these elements are displayed inside a select menu during question attempts)
  • during question attempts a drag and drop interface is displayed and the student must drag each right element on the correct spot on the left.

Sets

This plugin is part of set Seeking new maintainer.

Screenshots

Screenshot #0

Contributors

Picture of DualCube Team
DualCube Team (Lead maintainer)
Picture of Jean-Michel Védrine
Jean-Michel Védrine: Previous maintainer
Picture of Adriane Boyd
Adriane Boyd: Original author
Picture of Andrew Nicols
Andrew Nicols: Javascript upgrade to YUI3
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Jean-Michel Védrine
    Wed, 15 Feb 2017, 3:24 PM
    A big thank to DualCube for keeping this plugin alive
  • Picture of DualCube Team
    Thu, 16 Feb 2017, 2:50 PM
    Thanks David and Jean-Michel! We look forward to getting in touch and assist the users of this excellent plugin.

    Thanks and Regards,
    Arindam
  • Picture of Konrad Lorinczi
    Fri, 5 May 2017, 10:07 PM
    I got the following error, when importing a course into Moodle v1.9.19
    Import error:
    ...
    Could not recode question_ddmatch_sub 339
    Could not recode question_ddmatch_sub 338
    Could not recode question_ddmatch_sub 340
    Could not recode question_ddmatch_sub 339
    Could not recode question_ddmatch_sub 338
    ...
    Using $plugin->version = 2007081400;

    Any idea what is the problem?
  • Picture of DualCube Team
    Thu, 11 May 2017, 8:24 PM
    Hi Konrad,

    This plugin supports from Moodle version 2.4
    Please visit this link: https://moodle.org/plugins/pluginversions.php?plugin=qtype_ddmatch

    Thanks and Regards,
    Arindam
  • Picture of Konrad Lorinczi
    Sat, 13 May 2017, 1:43 AM
    I fixed the import problem of Question types: Drag-and-Drop Matching (qtype_ddmatch) for Moodle v1.9.
    The error message of import problem was:
    "Could not recode question_ddmatch_sub xxx"

    The issue happened, when made a backup from Moodle v1.9.13 and imported into Moodle v1.9.19.

    The fix is based on
    Moodle Fix: match qtype: MDL-17326 backup and restore problems: "Could not recode question_ddmatch_sub" error, when importing.
    https://github.com/moodle/moodle/commit/aa77a3d3def7dccdb6fb9fa166cad7021bd17454

    Where can I submit the fix?
    GIThub? or ZIP package to your email address?


  • Picture of Jean-Michel Védrine
    Sat, 13 May 2017, 7:21 PM
    Hello Conrad,
    The version of this plugin for Moodle 1.9 was maintained by Adrian Boyd, but I think nobody is maintaining it since many years.
    I began to maintain this plugin with Moodle 2.2 or 2.3, I don't remember exactly.
    This problem is fixed in all the recent versions of this plugin (I fixed it when it was fixed in the match qtype).
    To my best knowledge there is no github repository for the 1.9 version and I erased all files related to Moodle 1.9 long ago. Sorry.
    I think that apart from creating your own github repository there is no way to submit your fix.
  • Picture of Konrad Lorinczi
    Sat, 13 May 2017, 7:28 PM
    Ok, I understand.
    If I create my own GIThub repository, will you link it as Moodle 1.9 version source?
    Will you link the fixed ZIP as Moodle 1.9 version source?
  • Picture of DualCube Team
    Mon, 15 May 2017, 5:36 PM
    Hi Konrad,
    You can send us the ZIP package to our official email address admin@dualcube.com

    Thanks and Regards,
    Arindam
  • Picture of Konrad Lorinczi
    Tue, 23 May 2017, 5:04 AM
    I have a problem upgrading DDMATCH plugin from Moodle v1.9.19 to Moodle v2.2.11.
    This is required because to reach the latest Moodle version the following upgrade steps are required:
    1.x -> 1.9.19+ -> 2.2.11 -> 2.7.20 -> 3.2

    So I have to upgrade our DDMATCH plugin to 2.2.11 first.
    But I get the error:
    Plugin "qtype_ddmatch" is defective or outdated, can not continue, sorry.

    More information about this error
    Debug info: Plugin is not compatible with Moodle 2.x or later.
    Stack trace:

    line 314 of /lib/upgradelib.php: plugin_defective_exception thrown
    line 1437 of /lib/upgradelib.php: call to upgrade_plugins()
    line 269 of /admin/index.php: call to upgrade_noncore()

    Unfortunately the Moodle 2.4 is the first Moodle 2.x version available, the Moodle 2.2 version is missing.
    This makes the whole Moodle 1.9 to latest upgrade process impossible, as shown in the required upgrade steps above.
  • Picture of DualCube Team
    Tue, 30 May 2017, 2:15 PM
    Hi Konrad,

    Unfortunately, this plugin supports Moodle V2.4.1 to moodle V3.2. There is no support for V2.2.
    You can update your moodle from your version to latest version i.e., 3.2. After the Moodle up-gradation you can install the this version of Drag-and-drop Matching.

    Let me know for any further clarification.

    Thanks and Regards,
    Arindam
  • Picture of Jean-Michel Védrine
    Tue, 30 May 2017, 3:17 PM
    Hello Konrad and DualCube Team,
    I am not sure that Dualcube Team solution will work, here is why : In Moodle 2.2 there was a big change : Tim Hunt completely changed the question engine and to take this into account all question type have an upgrade script to upgrade their data to the new question engine. Fortunately I have added this kind of script to the ddmatch question type (it is in question/type/db/upgradelib.php) But I don't know if it will be executed after upgrading to Moodle 3.2 when Konrad will install the new version of ddmatch.
    So my best advice is NOT to do this on your production server because there is a risk to loose all existing ddmatch data ! You need to Install a copy of your server and test if the upgrade is successful on this copy first. If it works then you can do the upgrade on your production server.
    I tried to look if I can find any old version of ddmatch for Moodle 2.2 but my search was unsuccessful and I can't remember what I did when I upgraded to Moodle 2.2 (this is several years old and my memory is not good sad ).
    If this method doesn't work the only way to solve Konrad's problem would be to start from the oldest version of ddmatch in my github (https://github.com/jmvedrine/moodle-qtype_ddmatch) and edit it so that it can work with Moodle 2.2. This would surely be doable but would require some knowledge of the changes between Moodle 2.2 and 2.4 (only minor changes if I remember correctly), of course you will also need to edit version.php so that Moodle 2.2 accept this version of the plugin.
    Unfortunately I am not able to do this work.
  • Picture of Germán Valero
    Fri, 11 Aug 2017, 8:25 AM
    There is a Moodle Docs page for this question type at https://docs.moodle.org/33/en/Drag_and_drop_matching_question_type . Please feel free to add/remove/change it as needed.
  • Picture of DualCube Team
    Thu, 17 Aug 2017, 8:36 PM
    Thanks for letting us know German, we will definitely do the needful in the near future as and when needed smile

    Regards,
    Arindam
  • Picture of Dipali Thakkar
    Fri, 18 Aug 2017, 9:09 PM
    Where can I find the Spanish version for this plugin?
  • Picture of DualCube Team
    Tue, 29 Aug 2017, 7:37 PM
    Hi Dipali,

    Thanks for reaching us. We have no such type of extension for the plugin, you can do either point 1 or 2.

    1.Please go to Dashboard / ► Site administration / ► Language / ► Language customisation / ► choose your language / ►click the button "Open language pack for editing" / ► click the button "Continue" / ►select "qtype_ddmatch.php" / ► add "your text" into the box of "Local customisation" / ►then click the button "Save changes to the language pack".

    2.Please go to "Your moodle directory"/question/type/ddmatch/lang/en folder copy the qtype_ddmatch.php file then back to "lang" folder and create an folder named as "es" then paste the file into "es" folder. After that replace all the string with Spanish language.

    Thanks and Regards,
    Arindam
1 2 3 4 5
Please login to post comments