Managing blocks

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Managing blocks.

Manage blocks

An administrator can manage Moodle's blocks for the site in Settings > Site administration > Plugins > Blocks > Manage blocks, including any contributed blocks that have been added.

Hiding a block

The hide/show column allows selected blocks to be hidden i.e. they do not appear in any course "Add a block" dropdown menu and cannot be used in any course. To hide a block, click the eye icon so that it changes to a closed eye.

To reduce the length of course "Add a block" dropdown menus, you should hide blocks which will not be used, such as global search (unless you have enabled the global search feature in Administration > Miscellaneous > Experimental), mentees (unless you have added a mentor role) and network servers (unless you are using Moodle Network|Moodle Networking).

Instances

The blocks page also lists the number of instance for each block. Clicking on a number results in the list of courses containing that block being displayed. See Block settings for configuration settings that might be of interest to a site administrator or someone with Front Page editing permissions.

Block deletion

Any block (apart from certain protected blocks, such as the Navigation and Settings blocks) can be deleted using the link in the delete column. There is usually no reason for standard blocks to be deleted (they are usually hidden), however non-standard blocks may need to be deleted before upgrading.

Note: To delete a block completely, in addition to deleting it on the blocks page, you also need to remove/delete the actual block folder from the moodle/blocks folder, otherwise Moodle will reinstall it next time you access the site administration.

Block settings

Certain blocks have additional settings, which can be accessed via the links in the settings column.

Contributed blocks

In addition to using the blocks included in the standard download, other Moodlers have developed their own blocks which they share with the Moodle community. You can download these contributed blocks from the Moodle.org Moodle Plugins directory. See Installing plugins for details of how to install a block.

See also