Course templates
Maintained by
Flotter Totte, Sunny Teacher, emeneo Plugins
With this plugin you can easily create courses based on course templates. The plugin also can be used to easily duplicate courses
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I had a the same "setting_locked_by_permission" error trying to enable templates for course creators. Assigning "moodle/restore:configure" and "moodle/backup:configure" capabilities did the trick for me.
Moodle 4.0.2
Default exception handler: error/setting_invalid_ui_label
Debug: Error code: setting_invalid_ui_label $a contents:
* line 153 of /backup/util/ui/backup_ui_setting.class.php: base_setting_ui_exception thrown
* line 156 of /backup/moodle2/backup_section_task.class.php: call to base_setting_ui->set_label()
* line 153 of /backup/util/plan/base_task.class.php: call to backup_section_task->define_settings()
* line 60 of /backup/util/plan/base_plan.class.php: call to base_task->set_plan()
* line 161 of /backup/moodle2/backup_plan_builder.class.php: call to base_plan->add_task()
* line 188 of /backup/moodle2/backup_plan_builder.class.php: call to backup_plan_builder::build_section_plan()
* line 101 of /backup/moodle2/backup_plan_builder.class.php: call to backup_plan_builder::build_course_plan()
* line 163 of /backup/util/factories/backup_factory.class.php: call to backup_plan_builder::build_plan()
* line 67 of /backup/util/plan/backup_plan.class.php: call to backup_factory::build_plan()
* line 463 of /backup/controller/backup_controller.class.php: call to backup_plan->build()
* line 149 of /backup/controller/backup_controller.class.php: call to backup_controller->load_plan()
* line 1417 of /course/externallib.php: call to backup_controller->__construct()
* line 68 of /local/course_templates/process.php: call to core_course_external::duplicate_course(), referer: https://example.com/local/course_templates/index.php?step=3&cid=30
Please note: this feature probably needs funding.
This plugins works with the external database course creation moodle´s feature???
Just wondering, what right needs to be enabled for managers to be able to use this plugin? Managers already have the rights to create courses using the traditional method, but I can't find the correct right to allow them to do it using this plugin.
i tried using the plugin with moodle 3.9: When creating a new course i can choose the template and the course category. But on the 'define settings' screen, nothing happens when i click on 'next'.
javascript throws several errors:
bootstrap-datetimepicker.js:1 Failed to load resource: the server responded with a status of 403 ()
process.js:1 Failed to load resource: the server responded with a status of 403 ()
jquery-1.8.3.min.js:1 Failed to load resource: the server responded with a status of 403 ()
index.php?step=3&cid=20:1 Refused to apply style from '[...]/local/course_templates/js/bootstrap-datetimepicker.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
you need to add a new category (i've added the category "Course Templates" and created courses with this category )
i don't know if we can change the category name to have courses
Could anyone help?
Thanks, Daniel
is there a way to use this plugin via the api?
I used it as a system admin and it works. When I use my other account with an administrator role it gets stuck at 'Creating...'. I have allowed local/course_templates:edit and local/course_templates:view. What other permissions do I need to provide for the plugin to complete the process? I could not find much info in the previous comments here.
Thanks!