Moodle Plugins directory: Flexible format | Moodle.org
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
Useful links
Contributors
Jez H (Lead maintainer)
Manoj Solanki
Kevin Moore
Please login to view contributors details and/or to contact them
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
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...