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:
612 sites
123 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

Ukázat komentáře
  • Ritchie Langley
    úterý, 14. února 2023, 19.26
    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
    úterý, 14. února 2023, 19.47
    @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
    úterý, 14. února 2023, 20.11
    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
    úterý, 14. února 2023, 20.15
    Great work Ritchie!
  • Filippo Caburlotto
    úterý, 14. února 2023, 21.42
    Thank you so much Ritchie! Tomorrow I'll test it on a 4.1.X release
  • Filippo Caburlotto
    středa, 15. února 2023, 23.50
    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
    středa, 15. února 2023, 23.55
    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
    pátek, 17. února 2023, 18.55
    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
    pátek, 24. března 2023, 15.44
    hello, will this wonderful plugin be upgrade for Moodle 4.0 ? Thanks
  • Paul
    pátek, 14. července 2023, 17.25
    A great plugin, are you planning on making it 4.2 compatible?
  • Paul
    pátek, 21. července 2023, 16.50
    Would dearly love to see this working with Moodle 4.2.
  • Daniel Avon
    pátek, 11. srpna 2023, 18.05
    I cannot delete un course section (Moodle 4.1). Thanks
  • Amita Arya
    středa, 16. října 2024, 17.14
    Would love to see this working for 4.3. thanks.
  • Paul
    pátek, 29. listopadu 2024, 21.52
    Any plans to make it 4.5 ready? This was simply the best course format going, such a shame if you do not keep it maintained. Please, please do. úsměv
  • Filippo Caburlotto
    pátek, 18. dubna 2025, 22.06
    Any chance to have it running on 4.5.X? I agree with Paul: this was the best course format plugin!
1 2 3
Please login to post comments