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

Managing blocks: Difference between revisions

From MoodleDocs
(copied from 2.3 docs)
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Location: ''Administration > Modules > Blocks''
{{Blocks}}
==Manage blocks==


The blocks administration page enables the administrator to manage installed blocks and their settings. It is also possible to install 3rd party blocks to a Moodle site.
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.  


==Block administration page==
===Instances===
This page can be found in the [[Site administration block]] under Modules. It is a table that lists all the installed blocks. In addition to the columns below, the  block name and it's install version number are also shown.


=== Hide ===
The blocks page  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.
The site administrator can hide or reveal a specific block from all users by clicking on the icon.  This is different than deleting.
===Version===
Against each block is the version number of it (in the format 2012061700) This is helpful to for ensuring you have the latest versions of each block.


=== Instances ===
===Hiding a block===


This column provides a number of all the times the particular type of block is used in the courses on the Moodle site. It is linked to a list of those courses.
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.  


=== Multiple ===
To reduce the length of course "Add a block" dropdown menus, you should hide blocks which will not be used, such as mentees (unless you have added a [[Parent role|mentor role]]) and network servers (unless you are using [[MNet|Moodle Network|Moodle Networking]]).


The multiple column shows which blocks are capable of being added more than once to a course, with an option to turn off this feature.  
===Protecting blocks from deletion===
By clicking the padlock against a block in this column, you are preventing it from being deleted on the site. The [[Settings block]] and [[Navigation block]] are already padlocked, as major difficulties arise if these blocks are deleted. Only unlock them if you are absolutely sure you understand the consequences and have alternative settings and navigation features in place.


=== Delete===
===Block deletion===


To delete a block click here and it will be removed from Moodle.  However you will need to use a file manager and remove/delete the actual module directory from the moodle/blocks directory, otherwise Moodle will reinstall it next time you visit the admin page.
Blocks can be deleted using the link in the delete column (but see comments about the [[Settings block]] and [[Navigation block]] in the previous section) 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.


=== Settings ===
:''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.
Some blocks have additional settings that can be modified by the administrator.


==Adding a non-standard block==
===Block settings===


You may add [[:Category:Block (non-standard)|non-standard blocks]] simply by using a file manager to copy the new block as a directory into the moodle/blocks directory and Moodle will install it next time you visit the admin page. Moodle uses the name of the directory as the name of the block. The same applies for blocks which you delete and wish to reinstall later.
Certain blocks have additional settings, which can be accessed via the links in the settings column.
 
==Block capabilities==
 
*[[Capabilities/moodle/my:manageblocks|Manage My Moodle page blocks]]
*[[Capabilities/moodle/tag:editblocks|Edit blocks in tags pages]]
*[[Capabilities/moodle/user:manageownblocks|Manage blocks on own public user profile]]
*[[Capabilities/moodle/user:manageblocks|Manage blocks on user profile of other users]]
*[[Capabilities/moodle/block:edit|Edit a block's settings]]
*[[Capabilities/moodle/block:view|View block]]
*[[Capabilities/moodle/site:manageblocks|Manage blocks on a page]]
 
==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 [http://moodle.org/plugins Moodle Plugins directory]. See [[Installing plugins]] for details of how to install a block.


==See also==
==See also==
*[[Courses block configuration]]
 
*[[Online Users block configuration]]
*[[Remote RSS Feeds block configuration]]
*[[Block layout]]
*[[Block layout]]
Or the block category index below for more links


[[Category:Block]]
[[Category:Site administration]]
 
[[de:Blöcke verwalten]]
[[eu:Blokeak_%28Kudeatzailea%29]]
[[ja:ブロック管理 (管理者)]]
[[ja:ブロック管理 (管理者)]]

Latest revision as of 11:16, 14 July 2012

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.

Instances

The blocks page 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.

Version

Against each block is the version number of it (in the format 2012061700) This is helpful to for ensuring you have the latest versions of each block.

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 mentees (unless you have added a mentor role) and network servers (unless you are using Moodle Network|Moodle Networking).

Protecting blocks from deletion

By clicking the padlock against a block in this column, you are preventing it from being deleted on the site. The Settings block and Navigation block are already padlocked, as major difficulties arise if these blocks are deleted. Only unlock them if you are absolutely sure you understand the consequences and have alternative settings and navigation features in place.

Block deletion

Blocks can be deleted using the link in the delete column (but see comments about the Settings block and Navigation block in the previous section) 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.

Block capabilities

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