Actions

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

From Mahara Wiki

 
(10 intermediate revisions by the same user not shown)
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テーマは「親」テーマからの継承をサポートします。親テーマが指定された場合、親テーマで定義されていない要素のみオーバーライドする必要があります。これは、あなたが新たなCSSファイル、それからオーバーライドするためのイメージを作成するだけでテーマを作成できることを意味します。テンプレートすべてをコピーすることは求められません。
  
Mahara's element classes, default themes, and the procedure for creating and modifying themes are very different in Mahara 1.1 and 1.2.
+
テーマを作成および修正するためのMaharaエレメントクラス、デフォルトテーマ、手順は、Mahara 1.1および1.2の間では非常に異なります。
  
* [[Customising/Themes/1.1|Mahara 1.1 Themes]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.1|Mahara 1.1テーマ]]
* [[Customising/Themes/1.2|Mahara 1.2 Themes]]  
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/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>
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.3|Mahara 1.3テーマ]]  
* [[Customising/Themes/Migrating themes from 1.1 to 1.2|Migrating themes from 1.1 to 1.2]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.1から1.2へテーマを移行する|1.1から1.2へテーマを移行する]]
  
===Subpages===
+
===サブページ===
  
* [[Customising/Themes/1.1|Theming Mahara 1.1]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.1|Mahara 1.1テーマ]]
* [[Customising/Themes/1.2|Theming Mahara 1.2]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.2|Mahara 1.2テーマ]]  
* [[Customising/Themes/Differences_between_Smarty_and_Dwoo|Differences between Smarty and Dwoo]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.3|Mahara 1.3テーマ]]  
* [[Customising/Themes/Mahara_1.3_Themes|Mahara 1.3 Themes]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/1.1から1.2へテーマを移行する|1.1から1.2へテーマを移行する]]
* [[Customising/Themes/Migrating_themes_from_1.1_to_1.2|Migrating themes from 1.1 to 1.2]]
+
* [[Mahara日本語ドキュメント/カスタマイズ/テーマ/SmartyとDwooの違い|SmartyとDwooの違い]]

Latest revision as of 04:22, 1 August 2011

作成中です - mits

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

Maharaテーマは「親」テーマからの継承をサポートします。親テーマが指定された場合、親テーマで定義されていない要素のみオーバーライドする必要があります。これは、あなたが新たなCSSファイル、それからオーバーライドするためのイメージを作成するだけでテーマを作成できることを意味します。テンプレートすべてをコピーすることは求められません。

テーマを作成および修正するためのMaharaエレメントクラス、デフォルトテーマ、手順は、Mahara 1.1および1.2の間では非常に異なります。

サブページ