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

Managing blocks: Difference between revisions

From MoodleDocs
Line 5: Line 5:
<html>
<html>
<body>
<body>
<h1> This is test999 </h1>
<?php
echo "Hello World";
?>
</body>
</html>
== Multiple ==
== Multiple ==



Revision as of 10:14, 20 April 2007

Location: Administration >> Configuration >> Blocks

The blocks configuration page allows you to manage installed blocks and their settings.

<html> <body>

Multiple

Some blocks can be added multiple times to the same course. This of course is supported only by blocks for which it makes sense. For example, it makes sense to have two HTML blocks (and configure each one to show something different), but it doesn't make sense to have two Administration blocks. For those blocks which do support multiple instances, the administrator can choose to allow it or not.

Delete

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.

Adding a non-standard block

You may add 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.

Block configuration

See also