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.




What you will learn


This course will teach you the basic structure and requirements of a 'block', then take you through the actual process of:

  • Create 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


The plugin process is recorded using Moodle 3.9 but the code can be used in Moodle 3.7.2+

The block you will create will use the

YouTube playlist RSS feed.



You will learn how to create a block that displays a YouTube playlist.

The block will be able to be displayed in various location in Moodle and you will learn how to setup instance and global configuration options for the block.

What you should know first


  • How to program in PHP.
  • Have access to a development environment with PHP and Moodle installed.
  • Have a good understanding of Moodle and how it is used.

This course is closed for enrollment.