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 1.9.1

Moodle 1.9
Released: Tuesday, 29 November 2011, 7:49 PM

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.

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. If the summary is empty, a customizable text "Unit X" (where X is the number) is displayed. Technically spoken, the plain text content of the first non-empty HTML DOM node from the section summary is used as the summary title.

This block requires PHP 5.

Maintainer

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

Documentation

See the page at Moodle wiki for more details.

Version information

Version build number
2011112900
Version release name
1.9.1
Can be updated from
1.9.0
Can be updated to
2.2.0, 2.4.0 (2012121002), 2.4.1 (2012121003), 3.0 (2015030300), 5.1.1 (2017111000)
Maturity
Stable version
MD5 Sum
2590c0a8dea8317a7d7619ddec44f749
Supported software
Moodle 1.9, PHP 5.1
  • Latest release for Moodle 1.9

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
MOODLE_19_STABLE
VCS tag
v1.9.1

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 http://yoursite.com/admin 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.