Flexible format
Maintained by
Jez H, Kevin Moore, Manoj Solanki
The Flexible course format is based on Grid adding better mobile support, responsiveness, completion tracking and the ability to make sections collapsable.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
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...
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