I want to install the DD questions on our main side. But as long as these questions are no standard, I have to think about how to deinstallate them again. The problem will be the database. Is this way correct?
1. delete all quiz-attempts of quizzes using the dd-questions
2. delete all quizzes containing dd-questions
3. delete all dd-questions
4. delete the mdl_question_ddmatch
In this case, there is also
5. delete the mdl_question_ddmatch_sub table.
However, note that the question bank has code in place to cope with results in the database from a question type that has since been uninstalled - that is the 'missingtype' question type. Obviously, it can't do much, in that it does not know how to display or regrade the question, but it does just enough to ensure that you can keep the quiz attempts where that question type was used and use the results. So, that is, steps 1-3 are optional.
However, I assume you are going to try this question type out somewhere other than your live system, and ensure that you are going to use it long-term, before you install it!
One day I will find time to work on MDL-6751, so there is a proper way of handling this, like there is for Modules and Blocks.
5. delete the mdl_question_ddmatch_sub table.
However, note that the question bank has code in place to cope with results in the database from a question type that has since been uninstalled - that is the 'missingtype' question type. Obviously, it can't do much, in that it does not know how to display or regrade the question, but it does just enough to ensure that you can keep the quiz attempts where that question type was used and use the results. So, that is, steps 1-3 are optional.
However, I assume you are going to try this question type out somewhere other than your live system, and ensure that you are going to use it long-term, before you install it!
One day I will find time to work on MDL-6751, so there is a proper way of handling this, like there is for Modules and Blocks.
Wouldn't it be nice to have drag and drop matching and ordering questions as part of the standard module? They appear to be much more modern and appealing to learners than the standard matching type. Drag and drop ordering looks like a nice tool for word order tasks, but makes these tasks hard to share without the question type being part of the standard types.
I am certainly considering including these as standard in Moodle 2.0, but before we can do that, we need several other things to happen:
1. A number of institutions download these plugins; use them for real with teachers and students; report any bugs they find to the tracker; and then post about their experiences in this forum, saying how well then worked educationally, and how reliable they were, and so on.
2. An expert in accessibility reviews them for compliance with W3C-WAI guidelines/Section 508/...
We also need to consider: if we have the new interface, do we want to keep the old matching question type at all?
1. A number of institutions download these plugins; use them for real with teachers and students; report any bugs they find to the tracker; and then post about their experiences in this forum, saying how well then worked educationally, and how reliable they were, and so on.
2. An expert in accessibility reviews them for compliance with W3C-WAI guidelines/Section 508/...
We also need to consider: if we have the new interface, do we want to keep the old matching question type at all?
This is the capability I was trying to find out about in a post from about a week ago that I got no response to.
I am wondering about the possibility of a DND set of questions that can be setup with an image as the background and the DND answers located at different spots on the image. Think map with states/countries etc being moved to the correct location. The only thing close I have seen so far is a multiple choice setup using Hot Potatoes (JMatch). This option really does not get at what I am trying to do.
Is this single image based structure possible? What specific plugins are you referring to? I was wanting to experiment over the summer for next fall, so any feedback would be helpful.
I am wondering about the possibility of a DND set of questions that can be setup with an image as the background and the DND answers located at different spots on the image. Think map with states/countries etc being moved to the correct location. The only thing close I have seen so far is a multiple choice setup using Hot Potatoes (JMatch). This option really does not get at what I am trying to do.
Is this single image based structure possible? What specific plugins are you referring to? I was wanting to experiment over the summer for next fall, so any feedback would be helpful.
This feature could be used in several manners. The background image could be a table with several hot = correct spots. Something like that:
dragging and dropping into the correct field would give + scores. Together with negative scores for wrong droppings it would be a good feature for quite a lot of disciplines. The background with the hot spots could be a music sheet or a map, ore a painting or a table, this would really be a very good feature.
answer 1 |
|||
answer 2 |
|||
answer 3 |
dragging and dropping into the correct field would give + scores. Together with negative scores for wrong droppings it would be a good feature for quite a lot of disciplines. The background with the hot spots could be a music sheet or a map, ore a painting or a table, this would really be a very good feature.
Tim > ... before we can do that, we need several other things to happen: 1. A number of institutions download these plugins; use them for real with teachers and students; report any bugs they find to the tracker...
Of course I agree that you are describing the right way to do things but... as you are certainly aware, a number of teachers, institutions and, above all moodle site administrators are very reluctant to install 3rd-party plugins or anything that is not part of the standard moodle distribution and has not been declared "stable". This is a vicious circle.
Joseph
A burnt child dreads the fire. Moodle is the third system we use for E-Learning. It is sobering for the teachers to develop questions and tests and ... then .. you change the system. I believe in Moodle, but I need a plugin to be standard before I provoke teachers to develop new questions. A voting-system could help. I would vote for the Drag and Drop-Questions to be standard. I also think, that there should be more contact between developers and teachers (or side-administrators).
Hello,
Reading this thread, I am not sure everybody is speaking of the same questiontype
Drag and Drop ordering questiontype was written by Adriane Boyd during the 2007 Google Summer of Code (along with Imageclick questiontype and some other ones) in my own opinion it is well written, follow Moodle guidelines on how to write code for Moodle , use YUI library already in Moodle, so very few work if any would be required to include it in Moodle 2.0
As Tim said Administrators are always reluctants to install no core files so I am strongly in favor of the inclusion of Drag and Drop ordering questiontype in Moodle 2.0 (I also vote for the inclusion of Joseph's regexp questiontype !!)
Drag and Drop questiontype is quite another story. It was originally written by Brian King and I have done some work to upgrade it so that it works on Modle 1.6, 1.7, 1.8, 1.9 but it still has some problems
What is needed is somebody with enought javascript knowledge (so not me
) to completely rewrite this questiontype using YUI library. Unfortunately as I said I miss javascript knowledge but also some time for this task.
This is sad because I think a question where the students as to drag images on some "hotspots" of a background image is very interesting.
Any volontary ?
Reading this thread, I am not sure everybody is speaking of the same questiontype

Drag and Drop ordering questiontype was written by Adriane Boyd during the 2007 Google Summer of Code (along with Imageclick questiontype and some other ones) in my own opinion it is well written, follow Moodle guidelines on how to write code for Moodle , use YUI library already in Moodle, so very few work if any would be required to include it in Moodle 2.0
As Tim said Administrators are always reluctants to install no core files so I am strongly in favor of the inclusion of Drag and Drop ordering questiontype in Moodle 2.0 (I also vote for the inclusion of Joseph's regexp questiontype !!)
Drag and Drop questiontype is quite another story. It was originally written by Brian King and I have done some work to upgrade it so that it works on Modle 1.6, 1.7, 1.8, 1.9 but it still has some problems
- Installation need to modify some core files to include Walter Zorn Javascript library (of course this problem would disappear if it was standard, but ...)
- The form used in question creation is somewhat ugly because I didn't manage to completely convert it to formslib
- More important : Walter Zorn javascript library conflict with the latest version of the overlib library used in Moodle 1.9 so darg and drop is no more working in IE7 (firefox and Safari are OK)
- printing of a page with a dragdrop question isn't working (this is a problem with the javascript library used)
What is needed is somebody with enought javascript knowledge (so not me

This is sad because I think a question where the students as to drag images on some "hotspots" of a background image is very interesting.
Any volontary ?
In reply to Jean-Michel Védrine
Re: Drag and Drop ordering type deinstallation
As I told you at the "Drag and drop Question Type" site, I would like to help you with developing.
My knowledge of Javascript and JS-libraries is very good and I feel able to help.
I'm using this question type in one of my tests and I'm very unhappy that it does not work any more in 1.9.
So let me know if I can help you.
Harry