Admin tools: Upload block settings

tool_uploadblocksettings
Maintained by Picture of Eoin Campbell 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.
8 sites
42 downloads
4 fans

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 required fields are operation, course shortname, block, region, weight.
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).


Screenshots

Screenshot #0

Contributors

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

Comments RSS

Show comments
  • Picture of Plugins bot
    Tue, 19 Jun 2018, 9:50 PM
    Approval issue created: CONTRIB-7340
  • Picture of David Mudrák
    Wed, 11 Jul 2018, 4:37 PM

    Thanks Eoin for sharing the plugin with the community. Please refer to the to feedback provided in the tracker approval issue.

  • Picture of David Mudrák
    Wed, 18 Jul 2018, 1:38 PM

    Thanks again Eoin. Please note the master branch on your Github repository seems to contain some important recent fixes. Please consider releasing a new version of your plugin ASAP.

Please login to post comments