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
Line 1: Line 1:
http://wiki.mahara.org/Customising/Themes/1.1
http://wiki.mahara.org/Customising/Themes/1.2
http://wiki.mahara.org/Customising/Themes/Mahara_1.3_Themes
http://wiki.mahara.org/Customising/Themes/Migrating_themes_from_1.1_to_1.2
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</code>, but because of Mahara's plugin architecture, some template files for a theme may also be found inside plugin directories rather than under <code>htdocs/theme</code>.
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</code>, but because of Mahara's plugin architecture, some template files for a theme may also be found inside plugin directories rather than under <code>htdocs/theme</code>.



Revision as of 18:02, 12 Mayıs 2011

http://wiki.mahara.org/Customising/Themes/1.1 http://wiki.mahara.org/Customising/Themes/1.2 http://wiki.mahara.org/Customising/Themes/Mahara_1.3_Themes http://wiki.mahara.org/Customising/Themes/Migrating_themes_from_1.1_to_1.2 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