Actions

Customising/Themes: Difference between revisions

From Mahara Wiki

< Customising
(Created page with "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 <code>htdocs/theme</…")
 
No edit summary
 
(13 intermediate revisions by 6 users not shown)
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.


Mahara's element classes, default themes, and the procedure for creating and modifying themes are very different in Mahara 1.1 and 1.2.
'''[[Customising/Themes/20.10| Mahara 20.10+ theming guide]]'''


* [[Customising/Themes/1.1|Mahara 1.1 Themes]]
* [[Customising/Themes/1.2|Mahara 1.2 Themes]] 
* <span class="Apple-style-span" style="line-height: normal">[[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes]]</span>
* [[Customising/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]]


===Subpages===


* [[Customising/Themes/1.1|Theming Mahara 1.1]]
===Historical===
* [[Customising/Themes/1.2|Theming Mahara 1.2]]
 
* [[Customising/Themes/Differences_between_Smarty_and_Dwoo|Differences between Smarty and Dwoo]]
These pages are for long-obsolete Mahara versions, and are kept around for historical reasons only.
* [[Customising/Themes/Mahara_1.3_Themes|Mahara 1.3 Themes]]
 
* [[Customising/Themes/Migrating_themes_from_1.1_to_1.2|Migrating themes from 1.1 to 1.2]]
* [[Customising/Themes/19.04| Mahara 19.04-20.04 theming guide]]
* [[Customising/Themes/17.04|Mahara 17.04-18.10 theming guide]]
* [[Customising/Themes/15.10|Mahara 15.10-16.10 theming guide]]
* [[Customising/Themes/1.10|Mahara 1.10-15.04 theming guide]]
* [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)
* [[Customising/Themes/1.2|Mahara Themes - 1.2 to 1.9]] (Obsolete)
* [[Customising/Themes/1.1|Mahara 1.1 Themes]] (Obsolete)
* [[Customising/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]] (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)
 
[[Category:Customising]]

Latest revision as of 19:06, 1 November 2020

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.