Course formats: Flexible sections format

Maintained by Picture of Marina Glancy Marina Glancy
Organises course content in any number of sections that can be nested. Each section can be displayed expanded or collapsed
1210 sites
34 fans

This course format looks very similar to Topics format except:

  • there is no parameter "Number of sections", sections can be added and removed as necessary
  • section can also be added inside another section
  • each section (regardless of its nesting level) can be shown expanded or collapsed. Teacher can change it in edit mode.
  • If section is displayed collapsed, it's name is displayed as a link to the separate page and on this separate 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 "Assignments" has Label resource and two subsections - "New assignments" (displayed expanded) and "Old assignments" (collapsed). Note how course navigation looks like in this case.


Screenshot #0
Screenshot #1
Screenshot #2


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

Comments RSS

Show comments
  • Picture of Santiago Garcia
    Thu, 7 Apr 2016, 11:09 PM
    Hello marina, is there a way to have the sections unavailable but still not hidden, the issue I´m having is that my students can not see their grades if the section is not available. Thanks for your help!
  • Picture of Shutiri Yarbe
    Thu, 30 Jun 2016, 9:51 AM
    Hello Marina,

    Thank you for such a great contribution!
    I'm trying to move the sections with the icon for that purpose, but it's greyed out and nothing happens when I try to move the section.
    If I click on the icon, the page positions the section on top of the page, but nothing else happens either.

    I'm on Moodle 2.9, Google Chrome.

    Thanks in advance for your help!
  • Picture of Albert Leatherman
    Thu, 20 Oct 2016, 11:07 PM
    I agree with Devon and Elizabeth: it would be really useful to allow users to expand or collapse sections/subsections. Thank you.
  • Picture of Syakira Redzuan
    Thu, 22 Dec 2016, 10:49 AM
    Hello marina!!
    Can you update this plugin for Moodle 3.2 version? This plugin was very useful for our university.... smile
  • Picture of Marina Glancy
    Fri, 20 Jan 2017, 10:52 AM
    New version for Moodle 3.2 is added
  • Picture of Ajinkya Gadewar
    Tue, 21 Mar 2017, 6:54 PM
    All of the sections where we have used flexsections becomes unavailable on mobile. What can be the issue?
  • Picture of Henrik Berglund
    Mon, 27 Mar 2017, 3:25 PM
    Hi Marina, we just released a course using the flexible sections format. Thank you for providing this. It is great! I checked with the developers of the Moodle app, and thay say that they will not support this since it is a "non standard" format, however - developers can add mobile support as another plugin: through
    Have you considered this? Having app support would be awesome! /Best Henrik
  • Picture of sebastian seitz
    Tue, 27 Jun 2017, 8:33 PM
    great plugin! I have a course with five sections and am trying to move one section to change the order (section 5 should be section 1), but it is not possible. there is a dragn drop symbol which name is "move" but it is not working. any suggestions?
  • Picture of sebastian seitz
    Tue, 27 Jun 2017, 8:35 PM
    ok, sometimes i am realy blind.... i tried to drag n drop the section to move it upwards, but all i have to do is to klick on "move" and then i can choose where to move it smile
  • Picture of sebastian seitz
    Wed, 6 Sep 2017, 4:03 PM
    Hi Marina,
    in the main section of my course the section name is not displayed. Is there any CSS fault? flexible_sections_header_sz
  • Picture of sebastian seitz
    Wed, 6 Sep 2017, 4:09 PM
    hm, this is not the section name , there is the course name missing?
  • Picture of Francisco Décio
    Wed, 20 Sep 2017, 5:13 AM

    I've installed it on Moodle 3.3.2+ (Build: 20170915) . However, I cannot find the option to "add a subsection below the "add an activity or resource". Could you help me please?

    By the way, the pluguin version I've installed is 3.2.1 and it is enabled.

    Thanks in advance,

  • Picture of Ajinkya Gadewar
    Fri, 29 Sep 2017, 10:37 PM
    Hello Marina:

    Flexible sections work fine for Web but in moodle mobile all courses using flexsections becomes unavailable. Can you please tell us how we can fix this issue?
  • Picture of Elton LaClare
    Fri, 6 Oct 2017, 9:12 AM
    A number of people here have mentioned that they would like to see the Flexible sections format work on the Moodle Mobile app. It seems that the development team is considering this and have opened an issue in the tracker (MOBILE-1551). You might want to cast a vote to help ensure that support for course formats remains a priority.
  • Picture of Marina Glancy
    Fri, 27 Oct 2017, 1:25 PM
    new version 3.2.2 is released with smaller whitespaces, more friendly for mobile devices. I also marked compatibility with 3.4, nothing really changed in the API

    If you notice any issues with the course format please report on
1 2 3 4 5 6
Please login to post comments