-
Book Overview & Buying
-
Table Of Contents
Moodle Administration
These are the theme-related parameters, some of which have been used in Chapter 7, Moodle Look and Feel.
There are two parameters that are set in the config.php file:
$CFG-> allowthemechangeonurl (Binary)
This activates session themes.
$CFG-> themeorder (Array)
To change the priority of page themes, modify the parameter to reflect the new order. The default is set to ('page', 'course', 'category', 'session', 'user', and 'site').
The remaining values, which are listed next, are set within the config.php file of a particular theme.
$THEME->blockssheets (Binary)
If set to 'true', styles.php will be used for all block modules. Disable this only if needed.
$THEME->customcorners (Binary)
If set to 'true', rounded corners for blocks will be supported.
$THEME->custompix (Binary)
If changed to 'true', a pix directory is required containing copies of moodle/pix and pix/mod containing custom icons for activities.
$THEME->filter_mediaplugin_colors...
Change the font size
Change margin width
Change background colour