Maintained by Eoin Campbell
This plugin allows administrators to upload a CSV file containing block settings for courses. You can add or delete blocks, so the tool enables you to apply a default set of blocks for some or all courses on a site. You can also reset the set of course blocks to the default for that course format.
11 sites
6 fans
Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7

The Upload Block settings plugin allows administrators to add multiple blocks to a set of courses in a single batch operation. This is particularly useful for existing sites with a large number of courses, where you can delete obsolete blocks and add new default blocks to every course.

You can also reset course blocks to the defined default set for the course type, see Block Layout.

Use the command Site administration > Courses > Upload block settings to upload a CSV file containing lines of the form:

operation, course shortname, block name, region, weight


Lines beginning with a '#' or ';' character are comments, and skipped.
Each line of the file contains one record.
Each record is a series of data in a fixed order separated by commas.
The allowed operations are add, del(ete), and res(et).
The allowed regions are side-pre and side-post.
The allowed weights are -10 to 10 (0 is neutral).