The navigation buttons.

The navigation buttons.

by henny jellema -
Number of replies: 7
Beste Everybody,

My navigation buttons are not working properly. In the edit file of Moodle activities one can choose for hot potatoe navigation and so I did. But as you can see here:

http://lesnet.minkema.nl/elo/moodletest/mod/hotpot/view.php?id=34

the "volgende oefening" gives 'page not found'

It should go like this:

http://www.hennyjellema.nl/taal/dictee/dictee3en4/dictee7.3.htm

I think I understand it a bit since the URL name in Moodle changes as soon as one has uploaded the file... but why then asking if I want to use the hot pot navigation? And what's more important, what to do to get it right?
As always, every support is highly appreciated.

Hartelijke groeten van Henny.
Average of ratings: -
In reply to henny jellema

Re: The navigation buttons.

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi Henny,
it seems that like many veteran HotPotter you have a chain of Hot Potatoes quizzes all set up, with the "next" button of each quiz pointing to another quiz in the chain.

It is important to understand that when Moodle administers a Hot Potatoes quiz, the quiz is first read into the HotPot module, the HotPot module inserts some extra code, and only then is the quiz sent to the student. The extra code is necessary to monitor the progress of the quiz. The extra code detects when the quiz is finished, at which point it will send the results back to the HotPot module of Moodle.

If you upload you Hot Potatoes quiz to Moodle as an html file, you can view it in the browser without going via the HotPot module, as in your example:
http://www.hennyjellema.nl/taal/dictee/dictee3en4/dictee7.3.htm

However, this quiz has not come via the HotPot module, so it does not have any of the modifications required to detect when it finishes and send the results back to Moodle. Even if it did try to send the results to Moodle, those results would be rejected, because Moodle would say, "What's this? I don't know anything about this quiz. I can't verify who took it and there are no settings to tell me what to do with the results".

What this means is that if you have a chain of Hot Potaoes quizzes, each quiz in the chain must be added to the course as a separate HotPot activity

Now you could then go through the "next" links in your quizzes and change them to be links that correctly run the quiz via Moodle. For example:
http://lesnet.minkema.nl/elo/moodletest/mod/hotpot/view.php?id=34

In general, a link to run a HotPot activity via Moodle looks somethings like this:
http://someserver.com/moodle/mod/hotpot/view.php?id=xx

In the above URL, "http://someserver.com/moodle" is the URL to Moodle on your server, and "xx" is Moodle's unique id for the HotPot activity you want to link to.

Of course, nobody wants to go back and change all those links, so there is another possibility: set the "Show next quiz" setting for the each HotPot activity in the chain to "Yes"

Although this is rather laborious, it is the best that is available at the moment.

There is enhancement being considered, which will allow a chain of Hotpot activities to be added as a single entity. When it comes out, you, me and many other people will be very happy smile

At the moment, the "chaining" enhancement is only partially sponsored. If you, your organization, or anyone else reading this message, would like to contribute to the sponsorship, which will help get the work done quickly, please contact me. My email address is: gordon at-sign kanazawa hyphen gu kanazawa dot ac dot jp

best regards as always
Gordon

In reply to Gordon Bateson

Re: The navigation buttons.

by henny jellema -
Beste Gordon,

Thanks for your explanation.

You write "so there is another possibility: set the "Show next quiz" setting for the each HotPot activity in the chain to "Yes"

Where is this "Show next quiz" ? I couldn't find it at the edit page. I am using a Dutch version.

The remarkable thing is that for a mysterious reason the buttons do work here:

http://lesnet.minkema.nl/elo/moodletest/file.php/7/redactie/redactie1.htm

Hartelijke groeten van Henny.

In reply to Gordon Bateson

Re: The navigation buttons.

by henny jellema -
Beste Gordon,

I found this:

so there is another possibility: set the "Show next quiz" setting for the each HotPot activity in the chain to "Yes"


It's not working still, but it is there.

Hart. gr. van Henny.
In reply to Gordon Bateson

Re: The navigation buttons.

by henny jellema -
Beste Gordon,

I got it working and indeed as you say it's not taking my hot pot chain.
I had uploaded 2 hp exercises as one activity. The next activity has 2 exercises as well. Now Moodle jumps from exercise 1 to 3. That's what you meant, didn't you?

And for the time being there is nothing what can be done about that, I understand.... what a pity ...

Hart. gr. van Henny.
In reply to henny jellema

Re: The navigation buttons.

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Beste Henny
glad to hear your chain is now working ... sort of smile

With the "Show next quiz" set to "yes", Moodle will display the next HotPot activity that is listed on the course page. If your course page lists "Exercise 1" then "Exercise 3", then that is the order they will appear. If you want "Exercise 2" to appear in the chain, it needs to be added to the course page, between "Exercise 1" and "Exercise 3".

I have created a username on your Moodle site and enrolled in the "Nederlands spelling" course. If you would like me to check or set the settings for the quizzes in the chain, please arrange for me to have teacher access and I will gladly do so.

When the "chaining" enhancements come out, I'll post a notice here on this forum.

best regards
Gordon
In reply to Gordon Bateson

Re: The navigation buttons.

by henny jellema -
Beste Gordon,

How kind of you! I will appreciate that very much.

About the chain of dictees ( dictations in English of course ) I have made 6 of them by now. I still have them on my own website too, as long as the sound and the buttons are not working properly. It's pretty chaotic in a class when one want students to do something and technical things are not good. So for "security" reasons I have them here:

http://www.hennyjellema.nl/taal/dictee/voorbladdictees7.htm

This is the idea. They are uploaded to Moodle in pairs. 1+2, 3+ 4, and 5+6. That's also the way, I want my students to practise with them. ( My students are very weak high school kids; they came as refugees here and many of them were more or less illiterate )

So two dictations of 10 words each, is heavy enough for them.

Hartelijke groeten van Henny.
In reply to henny jellema

Re: The navigation buttons.

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hello again Henny

I have adjusted the quizzes on your site so that the sound files play OK and the quizzes form a chain. Here's an explanation of what I did and why.

To get the sound files to work I had to replace the media player. Sorry, the player you had was a nice one, but it is not currently compatible with the HotPot module. Perhaps I will have time to make it complatible in the summer, but for the time-being, you will have to use a different player.

To insert the new player into all the html files, I first downloaded the files to my machine and then used DreamWeaver to find all references to the old media players, and replace them with references to the standard Moodle media player (which is also a very nice player by the way smile ).

In case anyone wants to try this at home, here are the find and replace patterns I used:

When using these patterns, you will need to change "http://lesnet.minkema.nl/elo/moodletest" to the URL of your Moodle site.

Having replaced all the media players in the html files, I added "-moodleplayer" to the file names and uploaded them to your site.

Then I went through the HotPot activities that you have set up and standardized the settings to the following:

  • Filename: the "-moodleplayer.html" file for this quiz
  • Navigation: Moodle navigation bar
  • Force media plugins: No
  • Show next quiz: Yes

You had set up three HotPot activities for the first quiz in each chain. I also added HotPot activities for the quizzes that occur later in the chains. Since all the quizzes have "Show next quiz" set to "Yes", they form one long chain of 6 quizzes. Finally, I rearranged the order of the quizzes on the course page so they appear in the expected order.

That's about the best that can be done at the moment. During August and September, I will modify the module to work with the player that you are using, so you can switch back to that later on. As I said before, more substantial enhancements for "chaining" may also materialize.

best regards
Gordon