Drag and drop onto image

Question types ::: qtype_ddimageortext
Maintained by TimTim 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.

Screenshots

Screenshot #0

Contributors

Tim
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

Comments RSS

Comments

  • Brian Gygi
    Sat, 18 July 2015, 7:12 AM
    Oh yes, I have a Mac....
  • Phil Butcher
    Sat, 18 July 2015, 6:24 PM
    These instructions http://www.open.edu/openlearnworks/mod/oucontent/view.php?id=52702&section=2.1 are for a PC but should give you the idea. Search https://moodle.org/plugins/ for Mac specific info.
  • Brian Gygi
    Mon, 20 July 2015, 1:42 PM
    Thanks Phil!
  • jeyda bicer
    Wed, 16 Sept 2015, 8:16 PM
    Is it possible to set the mark for this question as all or nothing? For example the user places 3 out of 5 images correctly, but 2 are incorrect, so this means they get the overall question wrong.
  • Tim
    Wed, 16 Sept 2015, 9:12 PM
    Sorry, no.
  • jeyda bicer
    Thu, 17 Sept 2015, 7:00 PM
    Thanks Tim. Are you aware of any question plug ins with similar features but offers all or nothing marks?
  • José Miguel Alayo Berrios
    Mon, 25 Jan 2016, 5:21 AM
    Great plugin. Any update for Moodle 3.0+
  • Tim
    Mon, 25 Jan 2016, 3:39 PM
    Read the Moodle 3.0 release notes! Since Moodle 3.0 these plugins are part of the standard Moodle distribution.
  • Jean-François Pochon
    Tue, 16 Feb 2016, 6:08 PM
    Very good work, thanks a lot. .... but ....
    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.
  • Tim
    Tue, 16 Feb 2016, 6:45 PM
    Yes, that suggestion makes sense for the type of quesiton you are thinking about.

    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
  • roman angerer
    Thu, 24 Mar 2016, 12:22 AM
    Are there any requirements to use this plugin? my moodle says something about "Abhängigkeitprüfung" which might be dependencytest failed for "qtype_ddwtos"
  • Tim
    Thu, 24 Mar 2016, 1:58 AM
    As the Moodle plugin installer will tell you, this question type requires qtype_gapselect.
  • Oam
    Wed, 6 Apr 2016, 11:20 PM
    Hi Tim,

    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 ?
  • Tim
    Wed, 6 Apr 2016, 11:22 PM
    What has Piwik got to do with drag-drop questions? I suggest you report the bug to Piwik if their code is breaking your Moodle site.
  • Oam
    Thu, 7 Apr 2016, 12:19 AM
    Hi Tim,

    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
Please login to post comments