Versions Compared

Key

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

Task: To improve our Moodle Course management
Tools: Moodle Plugin "Course Template" (https://moodle.org/plugins/local_course_templates)", Moosh, and config.php

Moosh 

  1. We currently use Moosh (https://moosh-online.com/) 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'

config.php

  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.

...