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, 3.11
Released: Sunday, February 14, 2021, 5:16 AM
Code prechecksHTML | XML
- 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.
- 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.
- Fixed the reported coding style violations.
- Updated travis-ci config.
- 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
- All features and fixes included in the v4.0 release, just Behat tests supported by Moodle 3.0 and 3.1.
- 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.
- Version numbering scheme changed. No longer this plugin will have separate branch for Moodle major version.
- Bug #14 fixed.
- Just a maintenance release tested against Moodle 2.6.2 with no modified functionality.
- No real changes, just tested against Moodle 2.5.0.
- Confirmed that the Restrict access section setting is taking into account correctly (issue #8).
- 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
- 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 control information
- Version control system (VCS)
- VCS repository URL
- VCS tag
Default installation instructions for plugins of the type Blocks
- Make sure you have all the required versions.
- Download and unpack the block folder.
- Place the folder (eg "myblock") in the "blocks" subdirectory.
- Visit http://yoursite.com/admin to complete the installation
- Turn editing on in any home or course page.
- Add the block to the page
- Visit the config link in the block for more options.