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 6.0.0

Moodle 3.9, 3.10
Released: Sunday, February 14, 2021, 5:16 AM

6.0.0

  • Privacy API implemented (block does not process any personal data).
  • Removed dependency on Simple HTML DOM Parser library (issue #28).
  • Removed custom CSS styles. Instead use standard BS4 classes to make the look and feel closer to the standard drawer navigation in Boost.
  • Switching from Travis-CI to Github Actions.
  • Tested on Moodle 3.9 and 3.10.

5.2.0

  • Added option to enumarate the general section (aka section 0) too.
  • Added option to include a link to the course home page.
  • Credit goes to Manoj Solanki for contributing these features.

5.1.1

  • Fixed the reported coding style violations.
  • Updated travis-ci config.

5.1

  • Fixed support for Moodle 3.3 - topics and weeks format no longer provide the numsections property and the block must not rely on it. Credit goes to Nicolas Dunand.
  • Fixed Behat tests syntax for Moodle 3.3

5.0

  • All features and fixes included in the v4.0 release, just Behat tests supported by Moodle 3.0 and 3.1.

4.0

  • Added site level settings for controlling the enumeration mode and automatic title feature. The new site level settings determine the default values for instances and whether or not they can be changed.
  • As a result, the automatic title feature can be now switched off.
  • Improved the styling of the table of contents, particularly the way how enumerated items look.
  • Added behat tests for all combinations of display modes.
  • Added Travis-CI integration.
  • Versions 4.x should support Moodle 2.7, 2.8 and 2.9.

3.0

  • Version numbering scheme changed. No longer this plugin will have separate branch for Moodle major version.
  • Bug #14 fixed.

2.6.0

  • Just a maintenance release tested against Moodle 2.6.2 with no modified functionality.

2.5.0

  • No real changes, just tested against Moodle 2.5.0.
  • Confirmed that the Restrict access section setting is taking into account correctly (issue #8).

2.4.1

  • Number of sections defined in the course setting is respected (issue #9)
  • Block plugin name is used in the Add a block drop down menu

2.4.0

  • Moodle 2.4 support
  • Added capability "addinstance" (required by Moodle core)
  • Rewritten to use the new course formats API
  • The section titles enumeration is now configurable (issue #2)
  • The block title is now configurable (issue #3)

Version information

Version build number
2021021300
Version release name
6.0.0
Maturity
Stable version
MD5 Sum
792f658c482fe5a585ebbda8ff59bca6
Supported software
Moodle 3.9, Moodle 3.10
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v6.0.0

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.