-
Book Overview & Buying
-
Table Of Contents
Moodle 1.9 Extension Development
There are two primary ways to change the Moodle look and feel—themes and course formats.
Moodle themes provide a way for you to change the appearance of any Moodle page. Although this is primarily done through the appropriate use of CSS (Cascading Style Sheets) definitions, we will focus on methods of importance to programmers.
Course formats provide a way of changing how a course page is displayed. This allows you to completely change the way in which a course provides its main page information.
In this chapter, we will:
Program a theme to display standard navigation links in both the header and footer
Create a new course format to display a forum's discussions directly on the course page
Moodle themes provide a way of affecting the appearance of any page within Moodle. Through a mixture of CSS and PHP code, themes allow us to lay out our pages in creative ways.
All themes require four files as a minimum: config.php, styles.php, header...
Change the font size
Change margin width
Change background colour