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

Blocks: Difference between revisions

From MoodleDocs
(update including removing reference to docking blocks and the Clean theme)
(48 intermediate revisions by 6 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 Dashboard.  
This is an overview of Blocks in Moodle 2.0. For a more detailed explanation, please go to [[Blocks_2.0|Blocks 2.0]]


{{MediaPlayer | url = https://youtu.be/-OdLwviHo-c | desc = Overview of blocks}}
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]]
If a responsive theme, such as Boost, is used, blocks will be accessible from the bottom of smaller screens, below the main content.  
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===
|[[Activities block|Activities]]
Each course has an add block pull down menu. The image to the right displays those blocks that are default on a single installation. At this point there are no other third party blocks added in.
{| border="0"
| |
{| border="2";"
|[[Activities block|Activities]] A block used by teachers to add activities
|-
|-
| Admin Bookmarks
|[[Activity results block|Activity results]]
|-
|-
|[[Blog Menu]]
|[[Admin bookmarks block|Admin bookmarks]]
|-
|-
|[[Blog Tags]]
|[[Administration block|Administration]]  
|-
|-
|[[Calendar block|Calendar]] - display calendar
|[[Blog menu block|Blog menu]]
|-
|-
| [[Comments]]
|[[Blog tags block|Blog tags]]
|-
|-
| [[Community Finder]]
|[[Calendar block|Calendar]]
|-
|-
| [[Course Completion Status]]
| [[Comments block|Comments]]
|-
|-
| [[Course/Site Description]]
| [[Community finder block|Community finder]]
|-
|-
| [[Courses]]
| [[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]]
|-
|[[Global search block|Global search]]
|-
|-
|[[HTML block|HTML]]  
|[[HTML block|HTML]]  
|-
|-
| [[Logged in User]]
|[[Latest announcements block|Latest announcements]]
|-
| [[Latest badges block|Latest badges]]
|-
| [[Learning plans block|Learning plans]]
|-
|[[Logged in user block|Logged in user]]
|-
|[[Login block|Login]]
|-
|[[Main menu block|Main menu]]
|-
|-
|[[Mentees block]]  
|[[Mentees block]]  
|-
|-
|[[Messages block|Messages]]
|[[Navigation block|Navigation]]
|-
|[[Network servers block|Network servers]]
|-
|[[Online users block|Online users]]
|-
|[[People block|People]]
|-
| [[Private files_block|Private files]]
|-
|-
| [[My_private_files_block|My Private Files]]
|[[Quiz results block|Quiz results]]
|-
|-
|[[Online Users block|Online Users]] - only online Participants
|[[Random glossary entry block|Random glossary entry]]
|-
|-
|[[People block|People]] - link to [[Participants]]
|[[Recent activity block|Recent activity]]
|-
|-
|[[Quiz Results]]
|[[Recent blog entries block|Recent blog entries]]
|-
|-
|[[Random Glossary Entry]]
|[[Recently accessed courses block|Recently accessed courses]]
|-
|-
|[[Remote RSS Feeds]]
|[[Recently accessed items block|Recently accessed items]]
|-
|-
|[[Section Links]]
|[[Remote RSS feeds block|Remote RSS feeds]]
|-
|[[Search forums block|Search forums]]
|-
|[[Section links block|Section links]]
|-
|[[Self completion block|Self completion]]
|-
|[[Social activities block|Social activities]]
|-
|[[Starred courses block|Starred courses]]
|-
|[[Tags block|Tags]]
|-
|[[Timeline block|Timeline]]
|-
|[[Upcoming events block|Upcoming events]]
|-
|[[Youtube block|Youtube]]
|-
|-
| [[Tags]]
|}
| style="width:204px" | 
|[[Image:Blocks02.png]]
|}
|}


Both the Feedback and Global Search blocks have a default setting of "off" therefore do not appear on this list.
There are also many contributed blocks available for download from the [https://moodle.org/plugins/ Moodle plugins directory].
 
===Other blocks===
*[[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:
 
*[[Youtube block|Youtube]]
*[[Flickr block|Flickr]]
*[[Side bar block]]
*[[Progress Bar block]]
*[[Unanswered Discussions block]]
*[[Simple Clock block]]
 
==Course page block arrangement==
[[Image:blocks03.png |thumb|150px|right|Two blocks in a course ]]
New blocks can be added using the Add blocks drop-down 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.


==See also==
==See also==
*[[Blocks_2.0|Blocks 2.0]]
* [[Managing blocks]] - for administrators
*[[Blocks FAQ]]
* [[Blocks FAQ]]
*[[Block permissions]]
* [https://moodle.org/mod/forum/discuss.php?d=227772 Moodle forum discussion about ''which Moodle blocks are the most useful for teaching'']
*[[Blocks administration]] - site block settings that an administrator can use
*[[Site administration block]]
*[[Development:Blocks]] - a developer guide to creating blocks
*[[: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]]
[[it:Blocchi]]
[[ja:ブロック]]
[[ja:ブロック]]

Revision as of 08:15, 8 August 2019

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 Dashboard.

Overview of blocks

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.

If a responsive theme, such as Boost, is used, blocks will be accessible from the bottom of smaller screens, below the main content.

Standard blocks

Available blocks include:

Activities
Activity results
Admin bookmarks
Administration
Blog menu
Blog tags
Calendar
Comments
Community finder
Course completion status
Course overview
Course/site summary
Courses
Feedback
Flickr
Global search
HTML
Latest announcements
Latest badges
Learning plans
Logged in user
Login
Main menu
Mentees block
Navigation
Network servers
Online users
People
Private files
Quiz results
Random glossary entry
Recent activity
Recent blog entries
Recently accessed courses
Recently accessed items
Remote RSS feeds
Search forums
Section links
Self completion
Social activities
Starred courses
Tags
Timeline
Upcoming events
Youtube

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

See also