Hello folks.
We are using Moodle 3.11 and beta testing version 4.1 dev and this idea came up
Is there a way to programmatically on the backend write a program or script to "copy" and create a new course from an existing course the users wishes to copy from rather than doing it manually?
For example, if I have a web form which ask the users to:
- Select the category of the course they wish to copy (dropdown).
- Then it shows the courses within that category (dropdown) which the user selects.
- Then it shows a dropdown of the categories that the user wishes to put the copied course into.
- Then optionally, it has a text field of what the "nw" title of the course name is going to be.
- They click on Next and it then triggers some sort of db or php script to get that course and data they selected and creates it in the category they selected.
Is this possible and what are the points of problem that may come up if this can be done?
thanks
Dave