We briefly mentioned the pix
folder in Chapter 2, Moodle Themes. This folder is the main image folder for a Moodle theme and contains all of the images, such as tabs and all of the icons, used throughout in a theme. If you or the organization that you work for decides that you need a custom set of icons for your Moodle theme, then this will also have an impact on the asset-gathering stage of your project.
The icons used in your Moodle site are located in the \htdocs\pix
folder. These are the standard default icons that can be used if you do not wish to use your own custom icons for your theme. Custom theme-specific icons will be stored in the \htdocs\theme\[your chosen theme]
directory and will load depending on the Moodle theme's config.php
file's settings.
Therefore, the Moodle application will look at the theme's config.php
file first. If the custom pix
setting is set to True
, Moodle will use the pix
folder in your chosen theme's folder.
This is very useful, as you might...