tool:cohortfromcourse:install

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/tool directory 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';
  
  • 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>

Back to the component index

tool/cohortfromcourse/install.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki