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

Blocks: Difference between revisions

From MoodleDocs
No edit summary
(copied from 2.2 docs)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<p class="note">'''Note:''' [[Blocks 2.0]] contains details on changes to Blocks in Moodle 2.0. Please refer to '''[[Page_notes#Blocks |these notes]]''' before editing this page</p>
{{Managing a Moodle course}}
{{Blocks}}
Blocks are items which may be added to the left or right or centre column of any page in Moodle. They may also be added to the centre of the My Home (My Moodle) page. You can theme the position of blocks in the centre of pages as well.
This is an overview of Blocks in Moodle 2.0. For a more detailed explanation, please go to [[Blocks_2.0|Blocks 2.0]]


Any block can be made 'sticky' so that it appears in all the contexts below, such as throughout a course or a particular activity - see [[Block settings]].


[[Image:blocks01.png|thumb|right|Default block positions for a new course page]]
Blocks can be placed on the side of the screen (if your theme supports it) via the [[Dock]] icons ( [[Image:Dock_to_block.png]] and [[Image:Block_to_dock.png]] ).
A '''Moodle block''' contains a feature that loads in the right-hand or left-hand side of a [[Course homepage|course's home page]]. There are several types of standard Moodle blocks, and others are available as [[Contributed code]]. If needed, each block type can be used multiple times on a page.


Blocks can also appear or be used in other places, such as on the [[Front Page]], in some activities, and in a student's [[My Moodle]] page. Administrators can add [[Sticky blocks]] in a site which will appear in every course. 
==Standard blocks==


==Block types==
Available blocks include:
There are many different types of blocks in a course that can be used by a teacher. The teacher can add blocks from a pull down menu.  Other blocks provide information or settings that a teacher may use.  Some activities allow blocks to be inserted by the teacher.


===Pull down===
[[Image:blocks01.png|thumb|Default block positions for a new course page]]
Each course has an add block pull down menu.
 
{| border="0"
{|-
| |  
|[[Activities block|Activities]]
{| border="2";"
|-
|[[Activities block|Activities]] A block used by teachers to add activities
|[[Admin bookmarks block|Admin bookmarks]]
|-
|[[Blog menu block|Blog menu]]
|-
|-
| Admin Bookmarks
|[[Blog tags block|Blog tags]]
|-
|-
|[[Blog Menu]]
|[[Calendar block|Calendar]]
|-
|-
|[[Blog Tags]]
| [[Comments block|Comments]]
|-
|-
|[[Calendar block|Calendar]] - display calendar
| [[Community finder block|Community finder]]
|-
|-
| [[Comments]]
| [[Course completion status block|Course completion status]]
|-
|-
| [[Community Finder]]
|[[Course overview block|Course overview]]
|-
|-
| [[Course Completion Status]]
| [[Course/site description block|Course/site description]]
|-
|-
| [[Course/Site Description]]
| [[Courses block|Courses]]
|-
|-
| [[Courses]]
| [[Flickr block|Flickr]]
|-
|-
|[[HTML block|HTML]]  
|[[HTML block|HTML]]  
|-
|-
| [[Logged in User]]
| [[Latest news block|Latest news]]
|-
|[[Logged in user block|Logged in user]]
|-
|[[Login block|Login]]
|-
|[[Main menu block|Main menu]]
|-
|-
|[[Mentees block]]  
|[[Mentees block]]  
Line 45: Line 51:
|[[Messages block|Messages]]
|[[Messages block|Messages]]
|-
|-
| [[My_private_files_block|My Private Files]]
| [[My private files_block|My private files]]
|-
|-
|[[Online Users block|Online Users]] - only online Participants
|[[Navigation block|Navigation]]
|-
|-
|[[People block|People]] - link to [[Participants]]
|[[Network servers block|Network servers]]
|-
|-
|[[Quiz Results]]
|[[Online users block|Online users]]
|-
|-
|[[Random Glossary Entry]]
|[[People block|People]]
|-
|-
|[[Remote RSS Feeds]]
|[[Quiz results block|Quiz results]]
|-
|-
|[[Section Links]]
|[[Random glossary entry block|Random glossary entry]]
|-
|[[Recent activity block|Recent activity]]
|-
|[[Recent blog entries block|Recent blog entries]]
|-
|[[Remote RSS feeds block|Remote RSS feeds]]
|-
|[[Search forums block|Search forums]]
|-
|[[Section links block|Section links]]
|-
|[[Self completion block|Self completion]]
|-
|[[Settings block|Settings]]
|-
|[[Social activities block|Social activities]]
|-
|[[Tags block|Tags]]
|-
|[[Upcoming events block|Upcoming events]]
|-
|[[Youtube block|Youtube]]
|-
|-
| [[Tags]]
|}
| style="width:204px" | 
|[[Image:Blocks02.png]]
|}
|}


===Other blocks===
There are also many contributed blocks available for download from the plugins database.
*[[Sticky blocks]] A block that is forced to appear on every page as part of a site setting
*[[Course administration block]] contains course settings.
*[[Courses block|Courses]] Lists student's courses
*[[Course/Site Description block|Course/Site Description]] Teacher's description of course
*[[Latest News block|Latest News]]
*[[Recent Activity block|Recent Activity]]
*[[Search Forums block|Search Forums]]
*[[Upcoming Events block|Upcoming Events]]


There are also many contributed blocks available for download from the [http://moodle.org/mod/data/view.php?id=6009 modules and plugins database] including:
==See also==
 
*[[Youtube block|Youtube]]
*[[Flickr block|Flickr]]
*[[Side bar block]]
*[[Progress Bar block]]
*[[Unanswered Discussions block]]
*[[Simple Clock block]]
 
==Course page block arrangement==
[[Image:Block_People.JPG |frame|The People block with editing turned on]]
New blocks can be added using the Add blocks dropdown menu. Existing blocks (except  [[Sticky blocks]]) can be hidden, deleted or moved up, down, or across to the other column using the icons in the block header. 
 
User with editing roles, need to turn on editing on the page to add or move blocks.
 
==Adding blocks to activities==
Certain activity modules, such as the [[Lesson module]] and the [[Quiz module]], support blocks on their pages. The site administrator must turn this function on so that the teachers will be able to add side blocks on those pages, otherwise the interface does not show this feature to the teacher.


By default, this feature is disabled in the [[Site administration block]]. An administrator can enable it by checking the ''showblocksonmodpages'' box in ''Administration > Appearance > Themes > Theme settings''.  When enabled, users who can manage course activities will be able to add blocks to pages.
*[[Managing blocks]] - for administrators
 
==See also==
*[[Blocks FAQ]]
*[[Blocks FAQ]]
*[[Block permissions]]
* [http://www.youtube.com/watch?v=6aX1XHfBjqg Blocks in Moodle 2.0 video]
*[[Blocks administration]] - site block settings that an administrator can use
*[[Site administration block]]
*[[Development:Blocks]] - a developer guide to creating blocks
*[[:Category:Block]] - an index of all block-related pages
*[[:Category:Contributed code]] including a number of contributed blocks
*Using Moodle [http://moodle.org/mod/forum/view.php?id=2121 Blocks forum]


[[Category:Block]]
[[Category:Block]]
Line 109: Line 101:
[[de:Blöcke]]
[[de:Blöcke]]
[[eu:Irakaslearen_blokeak]]
[[eu:Irakaslearen_blokeak]]
[[fr:Blocs (enseignant)]]
[[fr:Blocs]]
[[ja:ブロック]]
[[ja:ブロック]]

Latest revision as of 16:15, 8 October 2012

Blocks are items which may be added to the left or right or centre column of any page in Moodle. They may also be added to the centre of the My Home (My Moodle) page. You can theme the position of blocks in the centre of pages as well.

Any block can be made 'sticky' so that it appears in all the contexts below, such as throughout a course or a particular activity - see Block settings.

Blocks can be placed on the side of the screen (if your theme supports it) via the Dock icons ( Dock to block.png and Block to dock.png ).

Standard blocks

Available blocks include:

Default block positions for a new course page
Activities
Admin bookmarks
Blog menu
Blog tags
Calendar
Comments
Community finder
Course completion status
Course overview
Course/site description
Courses
Flickr
HTML
Latest news
Logged in user
Login
Main menu
Mentees block
Messages
My private files
Navigation
Network servers
Online users
People
Quiz results
Random glossary entry
Recent activity
Recent blog entries
Remote RSS feeds
Search forums
Section links
Self completion
Settings
Social activities
Tags
Upcoming events
Youtube

There are also many contributed blocks available for download from the plugins database.

See also