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:
2722 sites
113 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
  • 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
  • Thu, Jun 30, 2022, 9:43 AM
    Unfortunately caused error 500 after installation.
    When the site is accessed everything is ok, but if you log in as the admin the error is there. It doesn't affect students though.
    The site is Moodle 4.0 with Boost theme on.
    So far, the issue is solved by manual removing the plugin folder.
    Too bad, the feature of nested sections seems awesome.
    I hope, my comment ends up useful for the developers.
    Hoping to hear about the plugin update patching the bug.
    Cheers 👍
  • Thu, Jun 30, 2022, 8:18 PM
    hi Boris, could you help us to reproduce this error? Do you have anything in error log? Will be great if you could open an issue in https://github.com/marinaglancy/moodle-format_flexsections/issues so we can discuss it there. TIA!
  • Tue, Jul 26, 2022, 3:39 PM
    Hi Marina,
    thanks for the plugin, it's the last one I'm waiting for going to Moodle 4.0
    I've tried on another one of my Moodle but I can't make it work properly with the course index (on the left).
    It shows only my parent sections and I cannot fold or unfold nothing without going on the section.
    Also if I scroll inside of a sub section, the blue cursor / highlight does not follow where I am in my course.
    Also, once I'm in a sub section, If I go back to the parent one, the index is still on the sub section.
  • Wed, Jul 27, 2022, 4:29 PM
    Hello Alexis, what do you mean you are waiting for it to go to Moodle 4.0? It already has a version for Moodle 4.0 and also the open issues list ( https://github.com/marinaglancy/moodle-format_flexsections/issues ) does not have any issues specific for Moodle 4.
  • Wed, Jul 27, 2022, 5:35 PM
    Sorry if I was not clear, it was the last plugin I was waiting for the Moodle 4.0.
    The issues I have are with the latest version, and I'll put the list I have in the github so smile
  • DTA 28/03/2015
    Tue, Sep 6, 2022, 5:19 PM
    Hi Marina,
    Wondering if you put on your roadmap a sub section level completion bar status, based upon activity completion in this section (to help student to find their way in a long list of topics), the same way Jean-Roch Meurisse did it in format_collapsibletopics.
    If this includes also capacity to keep collapsing state over sessions, this should be a dream.
    Thanks & Regards
  • Mon, Sep 26, 2022, 1:29 PM
    Hello Marina,
    I am getting this error for 4.0 install: Appears to be a version number mismatch. Pl advise asap

    Debugging output enabled
    ZIP /var/www/moodledata/temp/tool_installaddon/63313751746b3/plugin.zip
    Validating format_flexsections ... Error
    [OK] Name of the plugin to be installed [flexsections]
    [OK] Plugin version [2022061900]
    [OK] Required Moodle version [2022041900.00]
    [OK] Full component name [format_flexsections]
    [OK] Declared maturity level [MATURITY_STABLE]
    [OK] Plugin release [4.0.1]
    [Debug] Found language file [format_flexsections]
    [Error] Write access check [/home/ubuntu/moodle/course/format]
    Installation aborted due to validation failure
  • Fri, Dec 2, 2022, 1:01 AM
    Please remember to use the github "Issues" tab for the bug reports and the improvement requests - https://github.com/marinaglancy/moodle-format_flexsections/issues

1 2 3 4 5 6 7 8 9
Please login to post comments