This course will take you through the complete process of developing a Moodle block. A ‘block’ is a special type of plugin used in Moodle that can be added to pages, dashboards and other display areas in Moodle. A ‘block’ has a unique set of requirements when developing in Moodle that will be covered in this course.
It is highly recommended that you have PHP, HTML, JavaScript and CSS experience before attempting to create a block in Moodle but it is not essential that you have worked in Moodle before.
This course will teach you the basic structure and requirements of a ‘block’, then take you through the actual process of:
•Creating a fully functioning block
•Adding the core files
•Managing versions
•Adding the access file
•Adding instance configuration options
•Adding global config options
•Adding the language file for the block
•Completing a YouTube playlist RSS reader function to demonstrate the block
The block process is recorded using Moodle 3.9 but the code can be used in Moodle 3.7.2+
Your first step in Moodle and PHP development
4.2
★★★★★ 4.2/5
318 students