Actions

Difference between revisions of "Customising/Themes"

From Mahara Wiki

< Customising
Line 5: Line 5:
 
Mahara's element classes, default themes, and the procedure for creating and modifying themes are very different in Mahara 1.1 and 1.2.
 
Mahara's element classes, default themes, and the procedure for creating and modifying themes are very different in Mahara 1.1 and 1.2.
  
 +
* [https://mahara.org/artefact/file/download.php?file=298847 Mahara 1.8 Theming guide]
 +
* [https://mahara.org/artefact/file/download.php?file=298846 Mahara 1.8 Icons guide]
 +
* [[Customising/Themes/1.2|Mahara Themes - 1.2 and up]]
 
* [[Customising/Themes/1.1|Mahara 1.1 Themes]]
 
* [[Customising/Themes/1.1|Mahara 1.1 Themes]]
 
* [[Customising/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]]
 
* [[Customising/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]]
* [[Customising/Themes/1.2|Mahara 1.2 - 1.7 Themes ]] 
 
 
* [[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes for Institutions]]
 
* [[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes for Institutions]]
* [https://mahara.org/artefact/file/download.php?file=298847 Theming guide for Mahara 1.8]
 
* [https://mahara.org/artefact/file/download.php?file=298846 Icons guide for Mahara 1.8]
 
  
 
===Subpages===
 
===Subpages===

Revision as of 13:12, 22 November 2013

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's element classes, default themes, and the procedure for creating and modifying themes are very different in Mahara 1.1 and 1.2.

Subpages