June 2017
Beginner to intermediate
368 pages
8h 31m
English
We now need to add extra configuration options to each section. Here is how the finished page will look to the end user:

The file lib.php contains a declaration of the format_location class, which itself extends format_base. See https://docs.moodle.org/dev/Course_formats#Developing_course_formats_for_Moodle_2.4_and_above for more details on the format_base class. Essentially, the lib.php file contains a set of callback functions, one of which, create_edit_form_elements(), can be used to add extra configuration settings--either for the format itself or the layout sections it contains. You will see from the code ...
Read now
Unlock full access