Admin tools: Upload block settings

tool_uploadblocksettings
Maintained by Picture of Eoin CampbellEoin 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.

Upload block settings 1.0.0

Release notes

Upload block settings

Upload block settings from a CSV file into a range of courses

Description

The Upload block settings plugin for Moodle allows you to add or remove block settings to and from a range of courses at the same time. You can also reset the set of course blocks to the default for that course format.

Requirements

This plugin requires Moodle 2.9+ from https://moodle.org

Installation and Update

Install the plugin, like any other plugin, to the following folder:

/admin/tool/uploadblocksettings

See http://docs.moodle.org/33/en/Installing_plugins for details on installing Moodle plugins.

There are no special considerations required for updating the plugin.

Uninstallation

Uninstall the plugin by going into the following:

Administration > Site administration > Plugins > Plugins overview

...and click Uninstall. You may also need to manually delete the following folder:

/admin/tool/uploadblocksettings

Usage & Settings

There are no configurable settings for this plugin.

Use the command Administration > 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).

License

2018 Eoin Campbell

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7

Version information

Version build number
2018081402
Version release name
1.0.0
Maturity
Stable version
MD5 Sum
4ce6b9673d3e85470f6da17c75f55548
Supported software
Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7
  • This is the latest release for Moodle 2.9
  • This is the latest release for Moodle 3.0
  • This is the latest release for Moodle 3.1
  • This is the latest release for Moodle 3.2
  • This is the latest release for Moodle 3.3
  • This is the latest release for Moodle 3.4
  • This is the latest release for Moodle 3.5
  • This is the latest release for Moodle 3.6
  • This is the latest release for Moodle 3.7

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.0.0

Default installation instructions for plugins of the type Admin tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation