Actions

Difference between revisions of "Customising/Themes"

From Mahara Wiki

< Customising
m
 
Line 3: Line 3:
 
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 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.
  
* [[Customising/Themes/17.04|Mahara Themes - 17.04 and up]]
+
'''[[Customising/Themes/19.04| Mahara 19.04+ theming guide]]'''
* [[Customising/Themes/15.10|Mahara Themes - 15.10 and up]]
+
 
* [[Customising/Themes/1.10|Mahara Themes - 1.10 and up]]
+
 
  
 
===Historical===
 
===Historical===
Line 11: Line 11:
 
These pages are for long-obsolete Mahara versions, and are kept around for historical reasons only.
 
These pages are for long-obsolete Mahara versions, and are kept around for historical reasons only.
  
 +
* [[Customising/Themes/17.04|Mahara Themes - 17.04 and up]]
 +
* [[Customising/Themes/15.10|Mahara Themes - 15.10 and up]]
 +
* [[Customising/Themes/1.10|Mahara Themes - 1.10 and up]]
 
* [https://mahara.org/artefact/file/download.php?file=298847 Mahara 1.8 Theming guide] (Somewhat applicable up to 15.04)
 
* [https://mahara.org/artefact/file/download.php?file=298847 Mahara 1.8 Theming guide] (Somewhat applicable up to 15.04)
 
* [https://mahara.org/artefact/file/download.php?file=298846 Mahara 1.8 Icons guide] (Somewhat applicable up to 15.04)
 
* [https://mahara.org/artefact/file/download.php?file=298846 Mahara 1.8 Icons guide] (Somewhat applicable up to 15.04)

Latest revision as of 16:29, 4 November 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.

Mahara 19.04+ theming guide


Historical

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