Fatal error: Cannot instantiate non-existent class: quiz_file_format blablalabla/mod/lesson/import.php on line 56
Is it possible to import a hotpot quiz between two lesson pages in a lesson?
Tnx!
Joost Uitdewilligen
The Netherlands.
Figured that out already
Fatal error: Cannot instantiate non-existent class: quiz_file_format in /home/public_html/moodle/mod/lesson/import.php on line 56
Is there maybe an example of a Hotpot quiz between two lesson pages that already exists so I can check it out?
Tnx!
Joost
Hello again Joost,
I tried it myself and I understand what you are trying to do now. I wasn't aware that the "lesson" module allowed you to import questions too. Cool!
You can import questions from a HotPot XML file into a Moodle quiz or a Moodle lesson up to Moodle 1.4.4 (the current stable release). Here's a lesson I made by importing from a JMatch file:
http://bateson.kanazawa-gu.ac.jp/moodle/14/ms/mod/lesson/view.php?id=181
[you can log in as "guest" to view it]
However, the importing of HotPot questions is not working on Moodle 1.5 yet, because Moodle 1.5 does its importing somewhat differently. Penny L. warned about this last week. Please give me a little more time to sort it out.
I tried creating a lesson and importing from a ".jmt" file on Moodle 1.5, and got a similar error to you:
Fatal error: Class 'quiz_file_format' not found in \xxxxxx\moodle\15\mod\lesson\import.php on line 56
regards
Gordon
Tnx for your help! I checked your lesson in 1.4.4. That is an Hotpot match question imported in the 'Moodle format', you can't match them by moving them with your mouse like in Hotpot. Is it possible to import it with the same interactivity (like putting an Hotpot exercise with 'add activity')?
What I want to do is the following. (have Moodle version 1.5)
I created a lot of exercises in Hotpot for language learning. First flashcard, then matching, then gap exercise and sometimes a crossword puzzle, every exercise increases in difficulty. To put them all online with 'add activity' creates a big list and is not user friendly. So I want to make Lessons with Moodle and between lesson pages have for example a Hotpot crossword puzzle.
I know I can link them after a lessonpage just as a resource but then the scoring doesn't work and its not user friendly.
In your case, after you finish your match question at http://bateson.kanazawa-gu.ac.jp/moodle/14/ms/mod/lesson/view.php?id=181 and you click continue I want it to go to an Hotpot crossword puzzle and after the crosswordpuzzle continue with another lesson page with logging the score made in the crosswordpuzzle.
Would that be possible?
Joost
Dear Joost,
in the half-light of dawn this morning, I had an idea for how you could achieve your goal:
- set up the HotPot activities as individual exercises in the same section of the course. When setting up the activities, use the following settings:
- Navigation: none
- Show next quiz: yes
- on the course page, hide all but the first activity
Now the students will see only the link to the first quiz, and when they have finished that, the next quiz will appear automatically without returning to the course page. After finishing the final quiz in the sequence, students will return to the course page. The scores and response details for each HotPot activity will be registered as normal, which is what you want I think.
I have set up an example in section 2 of the following course:
http://bateson.kanazawa-gu.ac.jp/moodle/14/ms/course/view.php?id=7
Unfortunately you could only include HotPot activities in such a chain, so you couldn't have a lesson page "in between" quizzes, but perhaps you could include the information on the lesson page as a "reading" in one of HotPot quizzes?
You can thank Josep Fontana for the "Show next quiz" feature of the HotPot module
-- Gordon
P.S. Investigating this situation made me realize that the "Show next quiz" setting will show a HotPot activity whether it is hidden or not. In your case this works well, but it may not always be the case. It may be a good idea to refine the options for the setting to something like:
- no
- yes - next hidden or visible HotPot activity
- yes - next visible HotPot activity
- yes - next hidden or visible activity (any type)
- yes - next visible activity (any type)
Perhaps it's more than is required. Does anybody have a view?
Thank you for the good idea. I tried it and at first it worked. But it will only show the next hidden activitiy if you are a teacher. If I log in as a student and finish the first exercise I get the following error : Sorry, this activity is currently hidden.
Is there a way to get around?
Greetings Joost!
Hi Joost,
I see what you mean. Students can't see hidden activities.
Then I'm afraid for the time being, the only way to do this seems to be to set the "Show Next Quiz" to "yes" on the HotPot activities, and then set all the HotPot activities to be visible.
I have made a mental note to investigate whether or not HotPot activities could be added to the "lesson", and also to see if the "Show next quiz" could be made to work even though an activity might be hidden. [It may be a few weeks before I am able to get to work on that though]
best regards
Gordon
He Gordan,
I have been searching for a while but so far there's nobody who has a solution for my (and a lot of others) problem. Right now I am building an online Spanish course in Moodle with a lot (read A LOT ) of Hotpot exercises. I really would like them to put them between lesson pages or at least only the first exercise visible.
Because its a big project for my study (Educational Science & Technologie at a Dutch technical university) I would like to ask you if you could give me a estimate of when Moodle can do this. Than I know I can keep on building Hotpot exercises or stop the project for a while.
Yours faithfully,
Joost Uitdewilligen
Hi Joost,
here's my estimate of the work required to make the changes you are interested in.
I would take about 2 hours of programming and testing to modify the "Show next quiz" setting so it displayed hidden HotPot activites.
I would take about 5-10 hours of work to modify the "Add HotPot activity" page so that you could add a batch of HotPot acitivites in one go.
Would you, or your employer, be willing to sponsor these enhancements? Perhaps you could pool your resources with others on this forum who have also showed an interest in this functionality, such as Yann and Fernanda?
best regards
--Gordon
Well, since it is an university I can't ask for anything because it's a standalone project without any budget. Just my hours (and hours and hours)
But maybe we can work something out.
First I would like to know how many hours it will cost to develop the possibility to have a Hotpot exercise between two lesson pages. In general I belief that is the best improvement of all the options. It will make Moodle ready for improved teaching methods!
Greetings
Joost
Dear Joost,
it is an interesting idea to add HotPot quizzes to the lesson module. I am not sure of the inner working of the lesson module, so please give me a few days to investigate this possibility.
If you really have a lot of Hot Potatoes quizzes, already set up in activity chains, and you want to add them en masse to Moodle, I have a feeling that the this can be done most easily within the HotPot module, along the lines that Glenys has suggested
However, I will have a look at the lesson module and report back
best regards
--Gordon
First of all, many thanks for all the work you've already done integrating Hot Pot into Moodle.
I'm currently working on two courses I hope to run on Moodle which incorporate (or will incorporate) hundreds of Hot Pot exercises many of them linked together in modules so I'm very interested in the possiblility of adding HP exos in batches. You can get an idea of what I'm trying to do here in this unfinished first module of a course intended to teach French speakers to read English http://cla.univ-fcomte.fr/english/reading_course/01module/index.htm
My colleague Yann and I work for a French university and there's just no way we're likely to get any money out of them for this kind of work though we're currently spending ????$ on Web-CT. Just too much red tape.
However, I also belong to an association which could be more accommodating.
What's the hourly rate for programming? Sorry if this information is already available somewhere. I'm brand new to Moodle.
Cheers,
Glenys
This is pretty funny actually. I have exactly the same big list with Hotpot exercises, but then for Spanish language teaching
It would be really great if you can put an exercise or a batch of them together between lesson pages in Moodle. Then you really can create courseware! It will not only be lose exercises but a well writen, guided course with grading! perfect.
Greetings from Holland.
Joost
It's normal, isn't it, that teachers of whatever language should start off with the same elements for beginners? That is, if we share some of the same criteria about effecient language learning. And here on Moodle the chances are going to be pretty high.
Hartelijke groeten van Glenys.
And no, I'm afraid don't speak Dutch. But after several years on the Hot Pot list with Henny Jellema-van de Kamp I've picked up a tiny bit. I'm just showing off!
Dear Glenys,
thanks very much for providing the link to your impressive series of hotpot and textoys activities. I can see that what you would really like to do is add the chain of activities, just as they are, to a Moodle course. I am sure there are many other teachers in a similar position.
I mentioned before that allowing the HotPot module to display "hidden" activities would probably take two hours or programming and allowing HotPot activites to be added in batch mode would take 5 to 10 hours. I believe a going rate for such work is $50 (about 40 Euros, or 5000 yen) per hour, at least that is what I charge, so that might give you a ball-park figure to work with.
At the moment, I am working on some enhancements (requested by PA) which standardize the reporting of the different quiz types and allow for a click by click analysis of what the student did during the quiz. I intend to release these improvements as HotPot v2.1 at the end of May.
In June, I plan to undertake work (requested by JF) to add feedback form to the quizzes, and allow "Michael Rottmeier" quizzes to also be administered via Moodle. I think I will be able to release these improvements as HotPot 2.2 at the end of June.
In July I am busy with the end of term at my university, so the next opportunity I have for serious programming effort is the first couple of weeks of August. That might be a good time to aim to add the functionality you are interested in.
On Aug 15-16, I will be at the MoodleMoot in Oxford (UK), and Aug 25-26 I will be in Krakow (Poland) for EuroCALL, talking about the HotPot module and demonstrating the latest version.
I hope this information gives you a good undersatnding of the budget and time frame that the enhancements might require. I'd be happy to discuss the fine details on or off this list. My email is: gordon at-sign kanazawa hyphen gu dot ac dot jp
best regards
--Gordon