Flexible format

Course formats ::: format_flexible
Maintained by Jez H, Manoj Solanki, Kevin Moore
The Flexible course format is based on Grid adding better mobile support, responsiveness, completion tracking and the ability to make sections collapsable.
Latest release:
737 sites
108 downloads
62 fans
Current versions available: 1

The Flexible course format is builds and improves upon the popular Grid format adding:

  • Better responsiveness on mobile devices
  • Modal popup for section summaries
  • Auto generation of SVG images where no image has been added to a section
  • Ability to show completion per section
  • Ability to show images within individual course sections
  • Ability to make certain sections pop out of the grid in a collapsible manner

This course format is designed to work only as one section per page which is arguably more accessible, mobile friendly and allows teachers to provide direct links to sections in response to queries.

Also see the "Structured Label" plugin which compliments this plugin: https://moodle.org/plugins/mod_structlabel

Screenshots

Screenshot #0
Screenshot #1

Contributors

Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Andrea Johnson
    திங்., 9 ஜன. 2023, 10:43 AM
    can i use this with 3.9.4 ?
  • Dave Foord
    வெள்., 27 ஜன. 2023, 3:47 PM
    I love this course format and use it widely across various sites. Are there any plans to create a version for Moodle 4.1 I tried installing the current version of the plugin onto my 4.1 Moodle but it errored.

    Thanks in advance.
  • Jez H
    செவ்., 31 ஜன. 2023, 9:28 PM
    Hi Dave, this was originally developed by Gareth Barnard who would be the best person to do this if you wanted to ask him for a quote. We originally paid Gareth to develop this for us so the cost of getting it updated would be less than we paid! Unfortunately we no longer use Moodle and the other developers who used to maintain this have moved on.
  • Ritchie Langley
    செவ்., 14 பிப். 2023, 7:26 PM
    So far the only errors we have when using this with Moodle 4 is with managing sections. I have snaffled a fix from other course formats to fix that error and I am happy to share the solution if you are getting the section action error.
  • Filippo Caburlotto
    செவ்., 14 பிப். 2023, 7:47 PM
    @Ritchie do you mean that the available relase for 3.X can work with the 4.X release? Does it work with 4.1 too? If you can share your fix I think many of us can thank you!
  • Ritchie Langley
    செவ்., 14 பிப். 2023, 8:11 PM
    We are running 4.0.4 at the moment but I imagine it should work with 4.1. If I get a chance I'll test it.

    In lib.php change line 33 to:

    class format_flexible extends core_courseformat\base {

    In Renderer.php change line 34 to:

    class format_flexible_renderer extends core_courseformat\output\section_renderer {

    Near line 603 add:

    foreach ($parentcontrols as $k => $v) {
    unset($parentcontrols[$k]['attr']['data-action']);
    }

    Add this just after $parentcontrols = parent::section_edit_control_items($course, $section, $onsectionpage);

    Credit to David Herney who did the work on this in a fix for format_onetopic. I just replicated a similar fix based on this in format_flexible
  • Dylan Lewis
    செவ்., 14 பிப். 2023, 8:15 PM
    Great work Ritchie!
  • Filippo Caburlotto
    செவ்., 14 பிப். 2023, 9:42 PM
    Thank you so much Ritchie! Tomorrow I'll test it on a 4.1.X release
  • Filippo Caburlotto
    புத., 15 பிப். 2023, 11:50 PM
    I can confirm! it works with 4.1.1.X!!!
    The only problem I can't solve is that using flexible the course menu (usually the 3 lines at the left-top) doesn't appear...
  • Ritchie Langley
    புத., 15 பிப். 2023, 11:55 PM
    Ah yes, the course index is missing. We don't use it much in flexible as we use the tiles that it creates for each section instead. or is there something else I am missing?
  • Filippo Caburlotto
    வெள்., 17 பிப். 2023, 6:55 PM
    Hi RItchie I'm speaking about the course Index in the Expandable menu. Do you think it is possible to make it visible even using Flexible?
  • Daniel Avon
    வெள்., 24 மார். 2023, 3:44 PM
    hello, will this wonderful plugin be upgrade for Moodle 4.0 ? Thanks
  • Paul
    வெள்., 14 ஜூலை 2023, 5:25 PM
    A great plugin, are you planning on making it 4.2 compatible?
  • Paul
    வெள்., 21 ஜூலை 2023, 4:50 PM
    Would dearly love to see this working with Moodle 4.2.
  • Daniel Avon
    வெள்., 11 ஆக. 2023, 6:05 PM
    I cannot delete un course section (Moodle 4.1). Thanks
1 2 3
Please login to post comments