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
1240 sites
36 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 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
  • Picture of Srdjan Maksimovic
    Fri, 9 Feb 2018, 7:42 PM
    Hello, I have a problem, when trying to add subsection, it adds section instead, and when I try to move it, I get white screen with message in the corner: Error in sections hierarchy. Can someone please help?
  • Picture of Rafael Aschoff
    Thu, 15 Feb 2018, 11:08 PM
    I would like to use the flexible format together with the Adaptable theme. While it works, the visual (css) does not look as good as the topic format (or the flexible format over boost theme).
    Can anyone point me in the right direction as to what should I modify to have "the same effect"?
    The biggest issue is that sections and subsections are not been displayed separetedly, with bound boxes, white spaces or any enclosures.
1 2 3 4 5 6
Please login to post comments