Course contents

Blocks ::: block_course_contents
Maintained by David Mudrák
Course contents block displays a list of all visible sections (such as topics or weeks) in the course. Clicking at a link scrolls to that section or displays just that particular section, depending on the course layout setting.

Course contents 2.3.0

Moodle 2.3
Released: Saturday, June 23, 2012, 12:33 AM

Course contents block

Course contents block produces a list of all visible topic/week in the course. Clicking at one of these links will display that particular week or topic.

If the section name is defined, it is used in the course contents. Otherwise, the block automatically extracts a suitable title for every week or topic from the section summary. If you start summary with a heading (H1, H2, H3, etc), it will use such heading text. If your summary starts with a bold text, it will be used as a section title. If the summary consists of several paragraphs, the first one will be used. Technically spoken, the plain text content of the first non-empty HTML DOM node from the section summary is used as the summary title. If no suitable title can be populated, the current course format's default is used.


The block has been written and is currently maintained by David Mudrak.


See the page at Moodle wiki for more details.

Version information

Version build number
Version release name
Can be updated to
2.4.0 (2012121002), 2.4.1 (2012121003), 2.5.0 (2013051400), 2.6.0 (2014031400), 3.0 (2015030300), 5.1.1 (2017111000)
Stable version
MD5 Sum
Supported software
PHP 5.3, PHP 5.4, Moodle 2.3
  • Latest release for Moodle 2.3

Version control information

Version control system (VCS)
VCS repository URL
VCS branch
VCS tag

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.