In which we introduce HRDNZ, the course and set some expectations. In this first week we install a new block and examine its basic files and the code inside. We also discuss the way Moodle handles different languages and implement a language file.
This week is a busier week with a number of quite important concepts to master. We briefly introduce Moodle forms and a block instance settings form. This week also covers Moodle's extensive capabilities, roles and permissions systems. We prevent unwanted access to our block's pages.
This week we focus on the important topic of Moodle renderers and Mustache templates. Modern Moodle code uses these extensively in contrast to the older mixed html, css and php approach or the use of special classes such as html_writer which we met briefly in week 3.
This week we expand out blocks capabilities by adding some size buttons on the view page. These will leverage our current code and allow the viewer to change the size of the iFrame on the view page. We will add the links using a Mustache partial. In this week we will also take a quick look at modifying Moodle's navigation system.