Actions

Customising/Themes

From Mahara Wiki

< Customising
Revision as of 19:06, 1 November 2020 by Anitsirk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Mahara theme is a set of Smarty templates, css stylesheets, images, and a very simple configuration file.  Each theme is installed in a subdirectory under htdocs/theme, but because of Mahara's plugin architecture, some template files for a theme may also be found inside plugin directories rather than under htdocs/theme.

Mahara themes support inheritance from "parent" themes.  If a theme specifies a parent, then it only needs to override things that are not defined by the parent theme. This means that you can often create a theme just by writing a new CSS file, and maybe overriding some images. Copying all of the templates is not required.

Mahara 20.10+ theming guide


Historical

These pages are for long-obsolete Mahara versions, and are kept around for historical reasons only.