tool:cohortfromcourse:install
Table des matières
Tool CohortFromCourse (export of enrolled users to a cohort): installation
Installing this component will require creating a “customscript” to implement the menu item in the course menu (until another solution is available - See the technical note).
- Download and deploy the archive into the
admin/tooldirectory of your Moodle installation - Navigate to the administration notifications to complete the installation.
Setting up customscripting
Your platform must support “customscripts”:
- in your Moodle root, create a directory
<moodleroot>/customscripts - in the config.php file add:
$CFG->customscripts = '<moodleroot>/customscripts';
Setting up the link
- Copy the file <moodleroot>/course/view.php to the path <moodleroot>/customscripts/course
- Remove the inclusion of the config.php file
- Add a “die();” at the end of the file to avoid returning to the standard code
- <to be completed>
tool/cohortfromcourse/install.txt · Dernière modification : de 127.0.0.1
