-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
1.8.4, 1.8.5, 1.9
-
None
-
Any
-
MOODLE_18_STABLE, MOODLE_19_STABLE
When creating a new course from import or other means, a set of default blocks and modules are created.
We'd like to be able to create "Template" courses that get cloned when a new course is created. It's a lot easier for a Department to set up a course Template with just the blocks, modules, themes, etc. the way they want it, and could even have department-specific boiler-plate items (like links to their Academic Integrity Policy, etc.). Then, when the automated process creates new courses for that Department, if there were a Copy_Course function, we could copy from the Template, and then change the idnumber, shortname, full name, and start date to match the new course we need.
I realize you can backup without users and then do a restore, but this has to be automated. (I'm not manually going to restore 1200 courses every semester). If the information is already in the database, doing INSERT INTO blah blah (SELECT FROM blah blah) is a lot more efficient than zipping and unzipping files.
Any possibility of someone having or writing a Copy_Course() function?
Thanks!
...Andrew
- duplicates
-
MDL-32233 core_course_duplicate_course
-
- Closed
-