Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Task: To improve our Moodle Course management
Tools: Moodle Plugin "Course Template" (", Moosh, and config.php


  1. We currently use Moosh ( to create our user accounts, create courses, and course enrollments. 

  2. Information from our Campus Solution Software gets sent over to one of our Moodle Web servers which has a moodlecron running to run user adds, user/course enrolls, and course creations. 

    1. Our course creation bash script that is run by moodlecron. 
      1. /usr/local/moosh/moosh.php -n --verbose -p /var/www/html course-create -c $categoryID -F 'topcoll' -i 'UNIV10001_F18' -f '$CourseFullName (UNIV10001_F18)' -v 'n' 'UNIV10001_F18'


  1. When moodle receives the "Create Course" trigger from our moosh process it look to the config.php file first to see if there is any "default block overrides". We currently have our's set to ($CFG->defaultblocks_override = '';) because we do not want duplicate blocks added to new courses.