HotPot module for Moodle 2.0
Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: HotPot module for Moodle 2.0.
The HotPot module for Moodle 2.0 offers most of the functionality of the HotPot module for Moodle 1.0, and includes some additional functionality that was not available in Moodle 1.0.
The features are no longer available:
- add several HotPot activities at once
New features that are available in HotPot for Moodle 2.0
- an entry page can be displayed the HotPot quiz
- an exit page can be displayed after the quiz finishes
- new types of quiz can be handled
- quiz content can be passed through filters
- media can be inserted using square-brackets notation (see explanation below)
- custom text can be specified on the button to stop a quiz
- access to the HotPot is dependent on student gaining required grade on a specified Moodle activity
- after finishing the HotPot, the next Moodle activity can be specified
The HotPot module for Moodle 2.0 was completely rewritten in order to make efficient use of the new programming API that is used by the core PHP code Moodle 2.0. The HotPot module was removed from the standard download of Moodle until such time as it is deemed to be stable and conform to Moodle's programming standards. These requires that the module use Moodle's standard API's, and is documented according using phpdoc notation.
Updating from Moodle 1.9 to Moodle 2.0
Before you begin should be aware that as part of the upgrading process ALL your Moodle data files will be converted to Moodle 2.0 files. By the end of the upgrade, the folders that held your course files will be empty. Don't be alarmed ! The files have been renamed and placed in the "filedir" folder within the Moodle data folder. Access to the files is now controlled by Moodle. You can still see the files if you go to the "Legacy course files" link in the Moodle course administration block.
If something goes wrong part-way through the upgrade, you may find that you have no files in your course files folder, yet you cannot access the files via Moodle because the upgrade cannot complete. For this reason, it is very important to make a backup of your database and your course files folder before you begin the upgrade.
Here are my recommended steps for upgrading from Moodle 1.9 to Moodle 2.0:
- backup your Moodle 1.9 database and data folder <= IMPORTANT !!
- enable Moodle debugging
- rename old Moodle 1.9 scripts folder
- create new folder for Moodle 2.0 scripts
- add plugins that are compatible with Moodle 2.0 (e.g. HotPot module)
- access url of your Moodle site (log in as admin, if prompted)