Flexible sections format

Course formats ::: format_flexsections
Maintained by Marina Glancy
Organises course content in any number of sections that can be nested. Each section can be displayed on the same page or on a separate page

Flexible sections format 4.1.1

Moodle 4.1, 4.2, 4.3, 4.4
Released: Thursday, 3 October 2024, 3:24 AM

Changelog

All notable changes to this project will be documented in this file.

[4.1.1] - 2024-10-02

Fixed

  • When section has availability restriction and the restriction is displayed, all subsections and activities in the subsections should not be available. This also fixes the exception that made course index disappear for students #89
  • Coding style fixes for upcoming 4.5 release

[4.1.0] - 2024-05-22

Added

  • Support for Moodle 4.4, #83
  • Ability to duplicate sections, #69

Fixed

  • Fixed fatal PHP error on Moodle 4.3 introduced by changes in MDL-81610

[4.0.6] - 2023-12-23

Added

  • Adjusted automatic tests for Moodle 4.3

Fixed

  • #71 - 'Back to' link does not display ampersand (&) correcty

[4.0.5] - 2023-08-08

Fixed

Added

  • Course level settings for 'accordion' effect, 'Back to...' link and how to show the course index. (In addition to site-level settings added in v4.0.4)
  • In accordion mode clicking on the section in the course index will expand it in the course contents.

[4.0.4] - 2023-07-02

Added

  • Setting to show header for the General section and make it collapsible
  • Link 'Add section' between sections (only for the top-level sections on the current page)
  • Setting how to show the course index (sections and activities, only sections, do not display)
  • Setting to enable 'accordion' effect - when one section is expanded, all others are collapsed
  • Setting to display 'Back to...' link inside the activities allowing to return back to the course section
  • Setting 'maxsections' now only affects the number of top-level sections. Number of subsections is unlimited (there is also a setting about the maximum depth).

Fixed

  • Fixed a bug when drag&drop of activities was not possible if the target section is empty

Release contributor: Hogeschool Inholland, the Netherlands.

[4.0.3] - 2023-05-06

Added

  • Allow to indent activities on the course page
  • Added automated tests on Moodle 4.2
  • Subsection depth limiting course format setting. Setting maximum number of subsection levels will restrict ability of user to create sections at levels deeper than configured. The setting does not affect existing course subsections layout.

Fixed

[4.0.2] - 2023-04-17

Changed

[4.0.1] - 2022-06-19

Added

  • Course format "Flexible sections" now has UI in-line with the Moodle LMS 4.0 course formats. It supports AJAX editing of activities and sections and course index.

Version information

Version build number
2024100200
Version release name
4.1.1
Maturity
چاپى جیگیر
MD5 Sum
087a041dba09a3e14943d347be730a07
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v4.1.1

Default installation instructions for plugins of the type Course formats

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myformat") in the "course/format" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation