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
Latest release:
2419 sites
91 fans
Current versions available: 8

This course format looks very similar to Topics format except:

  • sections can be added inside other sections
  • each section (regardless of its nesting level) can be shown either on the same page as parent or on a separate page. Teacher can change it in edit mode.
  • If section is displayed on a separate page, it's name is displayed as a link and on this  page the link "Back to ... " is displayed

If teacher hides a section all nested sections and activities become hidden as well.

Please note that if section has both activities and subsections activities are displayed first.

On the attached screenshots the section "Quizzes" has tree subsections - "Science" and "Mathematics are displayed on the same page and "Other Uses" on a separate page. Note how course navigation looks like in this case.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


Marina Glancy (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Apr 22, 2020, 6:01 PM
  • Sun, May 10, 2020, 11:37 PM
    hi Dan Bell, please report the issues on the https://github.com/marinaglancy/moodle-format_flexsections/issues (the link is on the top of the page as "Bug tracker")!
  • Sun, May 10, 2020, 11:48 PM
    however, essential theme has reached end of life, so unfortunately, it is not possible to run it in Moodle 3.7 and above
  • Tue, May 19, 2020, 4:25 PM

    Hi, I think it's a good idea to insert the ability to have a css class for each section
  • Wed, May 20, 2020, 7:12 PM
    Hi Giulio, please feel free to submit a pull request on https://github.com/marinaglancy/moodle-format_flexsections , also if you think somebody else would want to comment or discuss on this idea you can create an issue there
  • Thu, Jul 9, 2020, 11:15 PM
    Will this plugin get an update to officially work with 3.9? We are very dependant on this plugin.
  • Mon, Feb 1, 2021, 11:51 PM
    Thank you for this useful plugin.

    I am using it (v3.5.1 2020051100) in a new Moodle installation (v3.10.1 20210130, after an old Moodle server's hardware failure), with the default Boost theme. It works, seemingly as it was intended and as I used it in the older Moodle.

    Would it be possible to make the sub-topics collapsible? Maybe even making that an editor's option?
  • Mon, Mar 1, 2021, 9:40 AM
    Hi there,
    would the latest version work with the latest version of Moodle?
  • Tue, Mar 30, 2021, 3:45 PM
    Hi there,
    would the latest version work with the latest version of Moodle?
  • Sun, Dec 12, 2021, 3:54 AM
    Similar to the previous questions, can you confirm if "Flexible Sections" will work with Moodle 4.0? I don't see a version for 4.0 showing yet.
  • Wed, May 4, 2022, 5:58 PM
    Will "Flexible Sections" work with Moodle 4.0? Best regards.
  • Sat, May 21, 2022, 2:52 PM
    I test this plugin with moodle 4.0 and he doesn't work. He breaks moodle with à http error 500. WARNING : It's not possible to uninstall the plugin so do not install this if you have a moodle V4.0 !
  • Mon, May 23, 2022, 1:07 AM
    Hello! The first quick version for 4.0 is now released, however it has the same very old look as the previous versions of format_flexsections.
    I'm currently working on the completely new release for 4.0 in-line with the 4.0 UI changes. You can follow development on github - https://github.com/marinaglancy/moodle-format_flexsections , branch new400
  • Mon, May 23, 2022, 8:57 PM
    Thanks for the work. Hope it will work well with the new version.
  • Sun, Jun 19, 2022, 11:46 PM
    Huge thanks to Ruslan Kabalin for his help! The new version of format_flexsections for Moodle 4.0 is now released
1 2 3 4 5 6 7 8
Please login to post comments