Moodle research

please any help for import activity to another course

 
Picture of Elizabeth Dalton
Re: please any help for import activity to another course
Group Moodle HQGroup Particularly helpful MoodlersGroup Plugin developers

This can be done, but you need some extra steps. TEST THIS ON A SMALL SAMPLE FIRST. The steps described here will not destroy data, but they can make a mess of your courses if you are not careful.

If you have a single activity that you want to import into many courses, first, create a course that contains only that activity. This is your template course.

You can then use the functionality in the "Bulk course upload" feature:

https://docs.moodle.org/32/en/Upload_courses

https://docs.moodle.org/32/en/Adding_a_new_course#Course_templates

You will need to create the file "uploadcourse.csv" as described in the documentation. Include ONLY the parameters "shortname" and "templatecourse". "shortname" indicates the short name of the course you want to bring the activity into. "templatecourse" indicates the short name of the course you are bringing the activity from (i.e. your template course with just the one activity in it).

For "Upload mode," choose "only update existing courses"
For "Update mode" choose "update with CSV data only"

Leave the other options set to "No"

Again, please be careful with this process and test carefully on a small set of courses before using it on a large number of courses. There is no automated way to undo the results of this process.

 
Average of ratings: -
Picture of sara rabie
Re: please any help for import activity to another course
 

sorry for late reply and thank you for your reply

the client need to choose comptency from custom form and it import automaticly without choose any thing and the activity which related to this comptency 

 
Average of ratings: -
Picture of Ger Tielemans
Re: please any help for import activity to another course
 

Why not think in a complete other direction:

  1. create a course with all competencies 
  2. (activities and resources organised in groups around each competency)
  3. set group/grouping rights for each competency set
  4. create a quiz where users learn which competency to work on
  5. let users choose groups (with plugin group choice) based on the results of that quiz 
 
Average of ratings: -
Picture of sara rabie
Re: please any help for import activity to another course
 

but it is different of requirements of client

 
Average of ratings: -