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

Sticky blocks: Difference between revisions

From MoodleDocs
mNo edit summary
(Sticky blocks in Moodle 2.0 (thanks to Sam H and Martin D))
Line 1: Line 1:
Location: ''Administration > Modules > Blocks > Sticky blocks''  
Location: ''Administration > Modules > Blocks > Sticky blocks''  
:or ''Administration > Appearance > Sticky blocks'' (in 1.6 to 1.8)
:or ''Administration > Appearance > Sticky blocks'' (in 1.8)
 
A sticky block is a block set on the site level which can force the block to appear on all course pages and/or on users' [[My Moodle]] pages. In Moodle 2.0 onwards, sticky blocks may be added to almost any page in Moodle.


A sticky block is a block set on the site level which can force the block to appear on all course pages and/or on users' [[My Moodle]] pages.


==Sticky blocks set-up==
==Sticky blocks set-up==


To configure sticky blocks:
To configure sticky blocks:
#Open the site administration block Modules > Blocks > Sticky blocks (Administration > Appearance > Sticky blocks in 1.6 to 1.8) .
#Open the site administration block Modules > Blocks > Sticky blocks (Administration > Appearance > Sticky blocks in 1.8).
#Choose whether to configure My Moodle or course pages.
#Choose whether to configure My Moodle or course pages.
#Please note that you can add a sticky block to either My Moodle or course pages or to both.
#Please note that you can add a sticky block to either My Moodle or course pages or to both.
#Select the required blocks from the "Add a block" dropdown menu. Configure each block as desired.
#Select the required blocks from the "Add a block" dropdown menu. Configure each block as desired.
#Reposition blocks using the arrow icons in the block headers.
#Reposition blocks using the arrow icons in the block headers.
==Sticky blocks in Moodle 2.0==
{{Moodle 2.0}}Sticky blocks may be added to My home in Moodle 2.0 via ''Site administration > Appearance > Default My Moodle page''.
To add a sticky block to a course page:
# Add the block to the front page.
# In the block settings set 'Page contexts' to 'Display throughout entire site'.
# Browse to any course (other than the front page course) and then in the block settings change 'Restrict to these page types' to 'course-* (Any course page)'.


==Tips and tricks==
==Tips and tricks==

Revision as of 08:39, 15 June 2010

Location: Administration > Modules > Blocks > Sticky blocks

or Administration > Appearance > Sticky blocks (in 1.8)

A sticky block is a block set on the site level which can force the block to appear on all course pages and/or on users' My Moodle pages. In Moodle 2.0 onwards, sticky blocks may be added to almost any page in Moodle.


Sticky blocks set-up

To configure sticky blocks:

  1. Open the site administration block Modules > Blocks > Sticky blocks (Administration > Appearance > Sticky blocks in 1.8).
  2. Choose whether to configure My Moodle or course pages.
  3. Please note that you can add a sticky block to either My Moodle or course pages or to both.
  4. Select the required blocks from the "Add a block" dropdown menu. Configure each block as desired.
  5. Reposition blocks using the arrow icons in the block headers.

Sticky blocks in Moodle 2.0

Moodle 2.0

Sticky blocks may be added to My home in Moodle 2.0 via Site administration > Appearance > Default My Moodle page.

To add a sticky block to a course page:

  1. Add the block to the front page.
  2. In the block settings set 'Page contexts' to 'Display throughout entire site'.
  3. Browse to any course (other than the front page course) and then in the block settings change 'Restrict to these page types' to 'course-* (Any course page)'.

Tips and tricks

  • Sticky blocks may be used for site-wide messages.
  • Sticky blocks may be used for small applications.
  • If you add a block which is already present in a particular course page or My Moodle page then it will result in a duplicate block.
  • Course pages contain a number of blocks by default.

See also

  • Block layout contains information on how to set up default blocks for new courses without making them sticky (non-movable).