Actions

Difference between revisions of "Customising/Themes"

From Mahara Wiki

< Customising
m (added pointers that creation of themes is the same from 1.2 onto 1.7)
Line 6: Line 6:
  
 
* [[Customising/Themes/1.1|Mahara 1.1 Themes]]
 
* [[Customising/Themes/1.1|Mahara 1.1 Themes]]
* [[Customising/Themes/1.2|Mahara 1.2 Themes]] 
+
* [[Customising/Themes/1.2|Mahara 1.2 - 1.7 Themes ]] 
* <span class="Apple-style-span" style="line-height: normal">[[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes]]</span>
+
* <span class="Apple-style-span" style="line-height: normal">[[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes for Institutions]]</span>
 
* [[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]]
  
Line 13: Line 13:
  
 
* [[Customising/Themes/1.1|Theming Mahara 1.1]]
 
* [[Customising/Themes/1.1|Theming Mahara 1.1]]
* [[Customising/Themes/1.2|Theming Mahara 1.2]]
+
* [[Customising/Themes/1.2|Theming Mahara 1.2 - 1.7]]
 
* [[Customising/Themes/Differences_between_Smarty_and_Dwoo|Differences between Smarty and Dwoo]]
 
* [[Customising/Themes/Differences_between_Smarty_and_Dwoo|Differences between Smarty and Dwoo]]
* [[Customising/Themes/Mahara_1.3_Themes|Mahara 1.3 Themes]]
+
* [[Customising/Themes/Mahara_1.3_Themes|Mahara 1.3 Themes for Institutions]]
 
* [[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]]

Revision as of 03:44, 16 August 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