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:
596 sites
94 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

显示评论
  • Ritchie Langley
    2023年02月14日 星期二 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
    2023年02月14日 星期二 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
    2023年02月14日 星期二 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
    2023年02月14日 星期二 20:15
    Great work Ritchie!
  • Filippo Caburlotto
    2023年02月14日 星期二 21:42
    Thank you so much Ritchie! Tomorrow I'll test it on a 4.1.X release
  • Filippo Caburlotto
    2023年02月15日 星期三 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
    2023年02月15日 星期三 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
    2023年02月17日 星期五 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
    2023年03月24日 星期五 15:44
    hello, will this wonderful plugin be upgrade for Moodle 4.0 ? Thanks
  • Paul
    2023年07月14日 星期五 17:25
    A great plugin, are you planning on making it 4.2 compatible?
  • Paul
    2023年07月21日 星期五 16:50
    Would dearly love to see this working with Moodle 4.2.
  • Daniel Avon
    2023年08月11日 星期五 18:05
    I cannot delete un course section (Moodle 4.1). Thanks
  • Amita Arya
    2024年10月16日 星期三 17:14
    Would love to see this working for 4.3. thanks.
  • Paul
    2024年11月29日 星期五 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. 微笑
  • Filippo Caburlotto
    2025年04月18日 星期五 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