Moodle plugins directory: Flexible sections format
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
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.
Please login to view contributors details and/or to contact them
would the latest version work with the latest version of Moodle?
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
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.
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.
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
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
I am getting this error for 4.0 install: Appears to be a version number mismatch. Pl advise asap
Debugging output enabled
Validating format_flexsections ... Error
[OK] Name of the plugin to be installed [flexsections]
[OK] Plugin version 
[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