Actions

カスタマイズ/テーマ

From Mahara Wiki

Revision as of 04:35, 7 June 2011 by Mits (talk | contribs)

作成中です - mits

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

Maharaテーマは「親」テーマからの継承をサポートします。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