Actions

Difference between revisions of ".php?title=Mahara日本語ドキュメント/カスタマイズ/テーマ"

From Mahara Wiki

Line 9: Line 9:
 
* [[カスタマイズ/テーマ/1.1|Mahara 1.1テーマ]]
 
* [[カスタマイズ/テーマ/1.1|Mahara 1.1テーマ]]
 
* [[カスタマイズ/テーマ/1.2|Mahara 1.2テーマ]]  
 
* [[カスタマイズ/テーマ/1.2|Mahara 1.2テーマ]]  
* <span class="Apple-style-span" style="line-height: normal">[[Customising/Themes/Mahara 1.3 Themes|Mahara 1.3 Themes]]</span>
+
* [[カスタマイズ/テーマ/1.3|Mahara 1.3テーマ]]  
 
* [[カスタマイズ/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]]
 
* [[カスタマイズ/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]]
  

Revision as of 05:21, 29 July 2011

作成中です - mits

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.

サブページ