-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.2
-
-
MOODLE_35_STABLE
-
MOODLE_36_STABLE
-
Moodle Mobile 3.6.0
I have a course format which defines the following handlers:
'handlers' => [ // Different places where the plugin will display content. |
'oustudyplan' => [ |
'delegate' => 'CoreCourseFormatDelegate', |
'method' => 'mobile_course_view', |
'styles' => [ |
'url' => $CFG->wwwroot . '/course/format/oustudyplan/mobile_css.php', |
'version' => 2018101900 |
],
|
'displaysectionselector' => false, |
'displayenabledownload' => false, |
'init' => 'oustudyplan_init' |
],
|
'assessmentpage' => [ |
'delegate' => 'CoreCourseOptionsDelegate', |
'method' => 'assessment_page', |
'displaydata' => [ |
'title' => 'special_assessment', |
'class' => 'oustudyplan-area' |
],
|
'priority' => 5, |
'init' => 'assessment_init' |
],
|
'tutorialspage' => [ |
'delegate' => 'CoreCourseOptionsDelegate', |
'method' => 'tutorials_page', |
'displaydata' => [ |
'title' => 'special_tutorials', |
'class' => 'oustudyplan-area' |
],
|
'priority' => 4, |
'init' => 'tutorials_init' |
],
|
'forumpage' => [ |
'delegate' => 'CoreCourseOptionsDelegate', |
'method' => 'forums_page', |
'displaydata' => [ |
'title' => 'special_forums', |
'class' => 'oustudyplan-area' |
],
|
'priority' => 3, |
'init' => 'forums_init' |
],
|
'resourcespage' => [ |
'delegate' => 'CoreCourseOptionsDelegate', |
'method' => 'resources_page', |
'displaydata' => [ |
'title' => 'special_resources', |
'class' => 'oustudyplan-area' |
],
|
'priority' => 2, |
'init' => 'resources_init' |
]
|
],
|
I have disabled all the other tabs on the course page, except for Contents. As I understand it, this should mean that the tabs are always displayed like this:
Contents | Assessment | Tutorials | Forums | Resources |
However, this order isn't always being respected, as show in the attached screenshot: