Actions

Difference between revisions of "Customising/Themes"

From Mahara Wiki

< Customising
m
 
Line 18: Line 18:
 
* [[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes for Institutions]] (Obsolete)
 
* [[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes for Institutions]] (Obsolete)
 
* [[Customising/Themes/Differences_between_Smarty_and_Dwoo|Differences between Smarty and Dwoo]] (Obsolete)
 
* [[Customising/Themes/Differences_between_Smarty_and_Dwoo|Differences between Smarty and Dwoo]] (Obsolete)
 +
 +
[[Category:Customising]]

Latest revision as of 18:07, 19 June 2019

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.

Historical

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