Actions

Difference between revisions of "カスタマイズ/テーマ"

From Mahara Wiki

Line 1: Line 1:
 
作成中です - [[User:Mits|mits]]
 
作成中です - [[User:Mits|mits]]
  
Maharaテーマは一連のSmartyテンプレート、CSSスタイルシート、イメージおよび簡単な設定ファイルで構成されます。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>.
+
Maharaテーマは一連のSmartyテンプレート、CSSスタイルシート、イメージおよび簡単な設定ファイルで構成されます。それぞれのテーマは<code>htdocs/theme</code>配下のサブディレクトリにインストールされます。しかし、Maharaのプラグイン構造のため、テーマのためのいくつかのテンプレートファイルは<code>htdocs/theme</code>ではなく、プラグインディレクトリ内に入れられます。
  
 
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.

Revision as of 06:31, 4 June 2011

作成中です - mits

Maharaテーマは一連のSmartyテンプレート、CSSスタイルシート、イメージおよび簡単な設定ファイルで構成されます。それぞれのテーマはhtdocs/theme配下のサブディレクトリにインストールされます。しかし、Maharaのプラグイン構造のため、テーマのためのいくつかのテンプレートファイルは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