I have several courses with Hot Potato exercises on courses running over several weeks. Not all weeks have Hot Potatoes, though.
What is odd is the following behaviour of display: when trying to access the Hot Potato exercises listed in the activity block on the side, the default view is to show only exercises listed on that particular week's page. At the same time, for resources or other activities, clicking other activities in the activity block will display all the resources or assignments, etc. that I have added to the course.
As a result, students complain about a message saying no Hot Potato exercises on this course. They have to switch to a different week, or to all weeks' view, to see them.
Is there any way in which we can adjust settings, so display behaviour is in line with other activities?
My current workaround is to tell students to switch to display of all weeks.
Thanks for your efforts.
this functionality is intended to handle the situation where you have many (hundreds) of HotPots in a course, but I can see it is not working well for you where you have just a few, and some weeks have no HotPots.
Perhaps in your case it would be best to always show all the weeks? You can do that with a little hack to "mod/hotpot/index.php"
- open "mod/hotpot/index.php" with a text editor
- locate the following line (around line 57)
// Get all instances of this module
- insert the following line just BEFORE the above line:
$displaysection = 0;
- save the modified file
I knew you would have the answer . Many thanks.