Your Moodle version

Blocks: Upload Metacourse links

Maintained by Picture of Mark Johnson Mark Johnson
This block allows linking of metacourses and child courses by upload of CSV flatfiles. Imports can be done by ad-hoc upload, or by a regular cron job.

This block is based on the Upload Tutor relationships block, but instead of linking users together, it links courses together using Metacourse links.

The block accepts CSV files in the following format:
operation, parent_course, child_course

  • operation can be add (to link) or del (to unlink)
  • parent_course is the ID Number of the meta course
  • child_course is the ID Number of the course

After being linked, all users of child_course will be enrolled to parent_course via the metacourse link.

The file can be processed by the block on demand through the block interface itself, or automatically via a cron job.  The block's settings allow a location to be configured for the cron file, and processed files can be archived if required.

Please dont report bugs here

If you experience an error with the block, or would like to request a feature, please use the "Bug Tracker" link below.




Picture of Mark Johnson
Mark Johnson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Paul K
    Tue, Sep 11, 2012, 11:47 PM
    Hey, great plugin, saved me lots of time! Thanks!
    In the beginning I struggled with the idnumber, thought it's the id of the course, because we never used idnumbers for courses. Maybe you should announce this difference in the description so it's clearer.
  • Picture of Andrew C
    Mon, Mar 24, 2014, 7:50 PM
    Hi Mark, I've been using this block for a long time and think it is great, a real time saver. Will this work on 2.6?
    Thanks Andrew
Please login to post comments