Use template on course creation

Maintained by Charles Fulton, Andrew Zito
This local plugin allows site administrators to create "template" courses which will be restored into new courses on course creation.
Price option: Free

Supports Moodle 3.1-5.2 See all versions
Latest release: 3 years ago
Installations: 337
Downloads (last 90 days): 159

Frankenstyle name: local_course_template
Local plugins

Comments

Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.

Hi Charles,
We solve the issue. The plugin is working.
But we see the next thing. Of 5 courses, the plugin imports the content in 3 courses. But in the two remaining courses, remain still in blank.
We made many tests, and take other courses, but the plugin only import the content in 3 courses.
We have a question. How many courses can import the plugin at same time? Is possible that we have so many element in the course, and that's why the plugin stops?
I appreciate any help
Regads,
Carlos Rodriguez,
Hi Charles,
The plugin worked fine for a few days, but rigth now isn´t working in our production application server.
But in our Test server is working fine. How can I see the log file of this plugin, in order to try to determinate th issue?
I appreciate any help
Regads,
Carlos Rodriguez,
It Works Thanks Charles! Big hug.
Hi Carlos,
That ought to work. Assuming you're just trying to match everything to the right of the period, you could also do /[A-Za-z0-9]+\.([A-Z0-9]{8,})/.
Charles
Hi Charles and Andrew Zito. Tnx for developing this.
My name is Carlos Rodriguez I'm a LMS mMoodle administrator. I'm using "Use template on course creation" plugin.
I modified the termcode to PADRE-[TERMCODE], and the regex to /[A-Za-z0-9\.]+([A-Z0-9]{8,})/. These works for a secuence of 8 digits like the nex one: FEV21100.NRC65026, but doesen't work for a secuence of 9 digits like the next one: MGAV41200.NRC66042
How should I modify the regex so that it woks for 8 and 9 digits?
I appreciate any help
Regads,
Carlos Rodriguez,
Hi, I have posted this on the Stash block page as well, but wondered if anyone had any ideas: If I place e.g. 20 stash items in a "template" course, then on course creation of a new course, the first stash item copies across, and then the whole process seems to fail, with no sections being copied to the new course, and no activities etc being copied across. If I remove the stash items from the template course then the new course is created successfully with all sections & content copied across. Thanks
Thanks for the reply Charles - we managed to get to the bottom of it, the issue was actually on the SIS side, not Moodle. We are new to using Banner from Ellucian. We discovered a setting in the console for the Banner-Moodle integration (called "ILP"). If we set the 'concurrency' to the minimum of 1, it seems to create courses on Moodle in a slow and steady manner and allows the plugin to restore the template to each course. So all working well now. Thanks for creating this great plugin, it's going to be crucial for our Moodle rollout each academic year.
Hi Rob, that's an odd problem. At our local institution we've done about 800 without that error occurring, although it's possible that it did happen and no one noticed. I'm not sure a partial backup failure would leave any trace in the logs. Any chance your temporary directory was low on disk space during the process?
Our Moodle hosting partner has just installed this plugin for us and it seems to be working well, however I've encountered something odd and I wonder if anyone has any suggestions? Our SIS created about 2000 Moodle courses in bulk and as expected this plugin restored a template to each one of the new courses. However for about 400 courses, the template didn't restore fully. Our template has four resources in it (two forums, one book, one URL), and in those 400 courses, only one, two or three of the resources were restored into the course. It's as if the backup failed to restore completely. Has this occurred for anyone else and if so, are you aware of any resolution? Thanks!
We are creeping through our implementation and everything seems to be working well. We are using an external database to handle enrollments and course creation. Has anyone seen anything which will populate course start and end dates based on the dates in the external database?
No restriction. If they're in the template course and they're backed up, they should be restored in the new course. The only thing the plugin does is make sure you don't have two copies of the Announcements forum.
Hi, Charles,
Thanks for the reply.
Are the activities and resources created in the template all copied to the new course created? Or is there any restriction?
Ricardo
Hi Ricardo, that's expected behavior. New courses are still created according to the course creation defaults in site administration, which includes both the course format and the number of topics.
Hi, Charles.
My template course is set to use "Weekly Format", but all my courses are being created in "Topic Format".
Is this the expected behavior?
Note: The activities and resources present in the template are copied when creating new courses.
Ricardo
Hi, Charles.
It worked!
Thanks.
Ricardo