Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Blocks.

Blocks: Difference between revisions

From MoodleDocs
No edit summary
 
(47 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Image:Course edit on new 4.JPG|thumb|right|Default block positions for a new course page]]
{{Managing a Moodle course}}
A '''Moodle block''' is a plugin that load in the right-hand and left-hand side of the page, where they can display different types of information.
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.


A teacher can utilize many kinds of blocks in a course page. Typically a course home page contains blocks in the left and right columns.
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]].


==Block types==
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]] ). If a responsive theme (such as 'Clean') is used, blocks will be accessible from the bottom of smaller screens, below the main content.
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===
==Standard blocks==
Each course has an add block pull down menu.
 
{| border="0"
Available blocks include:
| |  
 
{| border="2";"
[[Image:blocks01.png|thumb|Default block positions for a new course page]]
|[[Blogs|Blogs - Tags and Menu]] (from 1.6 onwards)
 
{|-
|[[Activities block|Activities]]
|-
|[[Admin bookmarks block|Admin bookmarks]]
|-
|[[Administration block|Administration]] (new name for Settings block)
|-
|[[Blog menu block|Blog menu]]
|-
|[[Blog tags block|Blog tags]]
|-
|[[Calendar block|Calendar]]
|-
| [[Comments block|Comments]]
|-
| [[Community finder block|Community finder]]
|-
| [[Course completion status block|Course completion status]]
|-
|[[Course overview block|Course overview]]
|-
| [[Course/site summary block|Course/site summary]]
|-
| [[Courses block|Courses]]
|-
| [[Feedback block|Feedback]]
|-
| [[Flickr block|Flickr]]
|-
|-
|[[Calendar block|Calendar]] - display calendar
|[[HTML block|HTML]]  
|-
|-
|[[Global Search block]]
| [[Latest news block|Latest news]]
|-
|-
|[[HTML block|HTML]] - Use HTML editor in content area
|[[Logged in user block|Logged in user]]
|-
|-
|[[Loan calculator block|Loan Calculator]] (from 1.6 onwards)
|[[Login block|Login]]
|-
|-
|[[Mentees block]] (from 1.8 onwards)
|[[Main menu block|Main menu]]
|-
|[[Mentees block]]  
|-
|-
|[[Messages block|Messages]]
|[[Messages block|Messages]]
|-
|-
|[[Online Users block|Online Users]] - only online Participants
|[[My latest badges block|My latest badges]] (new in 2.5)
|-
|-
|[[People block|People]] - link to [[Participants]]
| [[My private files_block|My private files]]
|-
|-
|[[Quiz Results]]
|[[Navigation block|Navigation]]
|-
|-
|[[Random Glossary Entry]]
|[[Network servers block|Network servers]]
|-
|-
|[[Remote RSS Feeds]]
|[[Online users block|Online users]]
|-
|[[People block|People]]
|-
|[[Quiz results block|Quiz results]]
|-
|[[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]]
|-
|[[Search tweets block|Search tweets]]
|-
|[[Section links block|Section links]]
|-
|[[Self completion block|Self completion]]
|-
|[[Social activities block|Social activities]]
|-
|[[Tags block|Tags]]
|-
|[[Upcoming events block|Upcoming events]]
|-
|[[Youtube block|Youtube]]
|-
|-
|[[Section Links]]
|}
| style="width:100px" | 
|[[Image:Block add dropdown list teacher 1 8.JPG]]
|}
|}


===Other blocks===
There are also many contributed blocks available for download from the [https://moodle.org/plugins/ plugins database].
*[[Sticky blocks]] A block that is forced to appear on every page as part of a site setting
*[[Activities block|Activities]] A block used by teachers to add activities
*[[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]]
* [[Managing blocks]] - for administrators
*[[Flickr block|Flickr]]
* [[Blocks FAQ]]
*[[Side bar block]]
* [http://www.youtube.com/watch?v=6aX1XHfBjqg Blocks in Moodle 2.0 video]
*[[Progress Bar block]]
* [https://moodle.org/mod/forum/discuss.php?d=227772 Moodle forum discussion about ''which Moodle blocks are the most useful for teaching'']
*[[Unanswered Discussions block]]
*[[Simple Clock block]]
 
==Course page block arrangement==
[[Image:Block_People.JPG |frame|The People block with editing turned on]]
Teachers, and other users with the capability to manage course activities, can change the arrangement of blocks on the course page (apart from [[Sticky blocks]]) when editing is turned on.
 
New blocks can be added using the Add blocks dropdown menu. Existing blocks (apart from [[Sticky blocks]]) can be hidden, deleted or moved using the icons in the block header.
 
==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.
 
==See also==
*[[Blocks FAQ]]
*[[Block permissions]]
*[[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]]


[[de:Blöcke]]
[[de:Blöcke]]
[[es:Bloques]]
[[eu:Irakaslearen_blokeak]]
[[eu:Irakaslearen_blokeak]]
[[fr:Blocs (enseignant)]]
[[fr:Blocs]]
[[ja:ブロック]]
[[ja:ブロック]]

Latest revision as of 15:58, 26 September 2014

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 ). If a responsive theme (such as 'Clean') is used, blocks will be accessible from the bottom of smaller screens, below the main content.

Standard blocks

Available blocks include:

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

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

See also