Drag and drop markers

The student can drag markers to indicate key features on an image.
Price option: Free

Supports Moodle 2.2-2.9 See all versions
Latest release: 11 years ago
Installations: 30
Downloads (last 90 days): 34

Frankenstyle name: qtype_ddmarker
Question types
Open University

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

this question type don't allow multi lingual filters, a fix is needed in the file renderer.php, in this line change
$markertext = html_writer::span($drag->text, 'markertext');
for this
$markertext = html_writer::span(format_string($drag->text), 'markertext');
Strictly eyeballs. The drop zones are visible but as they are semi-transparent and have no text within them, when they are rendered on a white background visibility drops quite a lot, see https://drive.google.com/file/d/10-2X-gY5BIBwiKfhhFZcInCVIT-vVH4e/view?usp=sharing
Are you attempting the question using a screen-reader, or just using your eyeballs?
There are "Text" attributes to configure for each drop zone (e.g. "Drop Here") but unfortunately they don't seem to take effect. This would have been a seamless solution with no necessary fiddling through other applications. Main issue is why don't they work - for me at least - ? Is this a known/unknown bug ?
@Dave Foord - Interesting idea - cheers. Have forwarded to staff. Utterly makes sense. Much appreciated
@Davin - If I want to create a question type where the dropzones are visible to the learners, I simply edit the image in PowerPoint, to show the dropzones and then upload this. I actually have a PowerPoint template set up for this purpose - with the size of the slide set to exactly match the size required for the image - so even if I am not showing the dropzones, I tend to upload the image I want to use into this template file, I can then crop/resize this in there, before exporting as an image. It would be a good addition to have the option to show the dropzones, but I don't see it as essential if it requires lots of work, or increases chances of things not working.
Hiya-Have staff asking if it is possible to have the drop zones available to students - as in you/they can see the outline/they are slightly transparent or something similar. I get that it may be correct for some to be able to drop the text anywhere, but it would be nice to have the option to have the drop zones visible or not. Is this a possibility?
This question type has been part of standard Moodle for ages, so this is not really the place to discuss it.
Anyway, the good news is that my co-worker Huong has just done exactly the change you want (MDL-68446 and linked issues) and that should be included in Moodle 3.9.
I love this question type! One observation: when I upload the image to drop the marker onto, it is automatically converted to a low resolution. I can understand that some type of conversion is required to allow the specification of the drop zones, but this resolution makes it really hard to read any text on the background image. It would be great if a higher resolution was supported (or better still: if the user could somehow control the resolution of the background image).
Hi
We need some help with Drag and Drop question.
Hi
Is there a way to use drag and drop plugins such that if we have following requirement it gets done with correct marking.
We have a background image where we want the student to drop images beginning with letter m. In the draggables we are providing a mix of m letter objects and others. Now imagine if there are 3 drop locations on the background image and we have 3 m letter objects. Consider drop placeholders as D1, D2 and D3 and correct images are m1, m2, m3. The user should be able to drop either m1 or m2 or m3 on D1 or D2 or D3 and the answer should be correct. But the correct plugin binds every selected draggable to specific placeholder we see on the background image. How can we achieve this? Can this happen via some customization in the plugin at the code level? Please help. Can we achieve this with drag and drop marker plugin instead of drag and drop onto image if possibly images can be uploaded instead of text markers?
We are using Moodle version 3.4.1+
We had recently a problem reported, that pictures were not imported from one course to another by direct import functionality. But I cannot reproduce.
By comparing the xml-export file of this question type with the xml-export file of other question types, the "path"-tag is missing (see below):
***
question type="matching"
file name="1a.png" path="/" encoding="base64">iVBORw0KGgoAAAANSUhE...
***
***
question type="ddmarker
file name="k8af094_gleichung_4_600x249.png" encoding="base64"...
***
Is this missing tag intended or could this be the reason for the problem?
This question type is now part of the standard Moodle package. Please can you post your question in the quiz forum: https://moodle.org/mod/forum/view.php?id=737
Thanks Tim, I exported my quiz and installed it onto a different moodle, where the quiz did work on the iphone - so my issue must be related to my particular installation of moodle anway - and I will have fun trying to work out where and why...
Looking throug the history of what changed since these were added to Moodle core, there is not much related to mobile devices. The only one I can see on https://github.com/moodle/moodle/commits/MOODLE_31_STABLE/question/type/ddmarker mentions Andriod, not iOS. https://github.com/moodle/moodle/commit/e76deaac51a97eb021cfba49ac742ec5716ffa2e
Thanks for response Tim, yes the test question on Moodle Core, allows me to drag the items - although you cannot complete the quiz, as there is too much space between the items and the image, and I cannot drag and scroll at the same time on my phone. If I turn phone to portrait, the parts of the image that are off the right hand side, can then not be reached. Looking at the Moodle that I am working on, it tells me the plugin is up to date - I cannot see any difference in the way that you have created your question, and I have created mine - could there be another setting in my moodle that is stopping this from working?