「テーマ設定」の版間の差分

提供:MoodleDocs
移動先:案内検索
34行目: 34行目:


==== カテゴリテーマ ====
==== カテゴリテーマ ====
{{Moodle 1.9}}Moodle 1.9以降、カテゴリテーマを設定することができます。「サイト管理 > アピアランス > テーマ > テーマ設定」にて、この機能を有効にすることができます。パフォーマンスに影響を及ぼすため、デフォルトでは無効にされています。有効にした場合、カテゴリの設定時、テーマを選択することができます。The theme will then apply to all courses in that category or child categories and the category page itself.
{{Moodle 1.9}}Moodle 1.9以降、カテゴリテーマを設定することができます。「サイト管理 > アピアランス > テーマ > テーマ設定」にて、この機能を有効にすることができます。パフォーマンスに影響を及ぼすため、デフォルトでは無効にされています。有効にした場合、カテゴリの設定時、テーマを選択することができます。設定後、カテゴリ内のすべてコースまたは子カテゴリおよびカテゴリページ自身にテーマが適用されます。


==== セクションテーマ ====
==== セクションテーマ ====

2008年6月16日 (月) 16:14時点における版

作成中です - Mitsuhiro Yoshida 2008年6月12日 (木) 07:28 (CDT)

ロケーション: サイト管理 > アピアランス > テーマ > テーマ設定

テーマ設定

  • テーマリスト - コースおよびユーザが利用できるテーマのリストです。空白にした場合、すべてのテーマを使用することができます。テーマメニューを短くしたい場合は、カンマで区切ったテーマ名を入力してください (テーマ名に空白を使用しないでください!)。例: standard,orangewhite
  • ユーザテーマを許可する - この設定を有効にした場合、ユーザは自分のテーマを設定することができます。サイトテーマは、ユーザテーマに上書きされます (コーステーマは上書きされません)。
  • コーステーマを許可する - この設定を有効にした場合、コースに独自のテーマを設定することができます。コーステーマは、他のすべてのテーマ (サイト、ユーザ、セッションテーマ) を上書きします。
  • カテゴリテーマを許可する - この設定を有効にした場合、カテゴリに独自のテーマを設定することができます。独自のテーマが設定されていない限り、カテゴリテーマはすべての子カテゴリおよびコースのテーマを上書きします。警告: カテゴリテーマを有効にするとパフォーマンスに影響を及ぼします。
  • ユーザのブロック非表示を許可する - ユーザにブロックの表示および非表示を許可します。
  • モジュールページにブロックを表示する - いくつかの活動モジュールでは、ページにブロックを表示することができます。この設定を有効にした場合、教師はサイドブロックをページに追加することができます。そうでない場合、この機能は表示されません。
  • 活動タイプナビゲーションを非表示にする - 活動モジュールで表示されるナビゲーション内の活動タイプ (例 小テスト) リンクを誰に非表示にするか選択します。

テーマタイプ

サイトテーマ

サイトテーマは、「サイト管理 > アピアランス > テーマ > テーマセレクタ」でプレビューおよび選択することができます。

ユーザテーマ

「allowuserthemes」 (ユーザテーマを許可する) オプションを有効にすることで、ユーザはプロフィールの編集ページで好きなテーマを選択することができます。コーステーマが設定されていない限り、すべてのMoodleページはユーザテーマに表示されます。

コーステーマ

「allowcoursethemes」 (コーステーマを許可する) オプションを有効にすることで、教師はコース設定ページの「テーマの強制」でコーステーマを選択することができます。コースは常にコース設定で指定されたテーマで表示され、ユーザおよびサイトテーマを上書きします。

カテゴリテーマ

Moodle 1.9

Moodle 1.9以降、カテゴリテーマを設定することができます。「サイト管理 > アピアランス > テーマ > テーマ設定」にて、この機能を有効にすることができます。パフォーマンスに影響を及ぼすため、デフォルトでは無効にされています。有効にした場合、カテゴリの設定時、テーマを選択することができます。設定後、カテゴリ内のすべてコースまたは子カテゴリおよびカテゴリページ自身にテーマが適用されます。

セクションテーマ

Moodle offers an additional way to set a theme - the session theme. This is set with the URL and lasts until you log out. When you next login, the site/course/user themes are active again. This option is great for theme testing and works perfectly when you want to enable different themes for different situations.

For example you can offer a special link for PDA users and integrate the session theme orangewhitepda in that link. Nobody needs to change any settings, you just click on that link. The session theme is called by the URL parameter &theme=orangewhitepda. The whole URL without the session theme could look like http://mymoodlesite.org/course/view.php?id=18 and with the parameter for the PDA theme like "http://mymoodlesite.org/course/view.php?id=18&theme=orangewhitepda".

In a standard Moodle installation, session themes are not active. To activate them the administrator must add the parameter $CFG->allowthemechangeonurl = true; to the Moodle config.php file in the Moodle base directory.

ページテーマ

A page theme is for special page-only themes set by code.

テーマオーバービュー

Theme type Overwrites Display Setting type
Site - all pages* saved in theme profile
User Site theme all pages* saved in user profile
Course Site, user and session themes one course saved in course profile
Session Site and user themes all pages* temporary until logout

(* except courses with the course theme set)

サイドブロックの幅

Moodle 1.8

When you need to define the side column width for your themes you can add the following settings to your theme config.php.

$THEME->block_l_min_width = 148;
$THEME->block_l_max_width = 148;
$THEME->block_r_min_width = 260;
$THEME->block_r_max_width = 260;

/// These values define the min and max width of the left and right
/// sibelocks in the course pages. If not set or false the standard 
/// values are taken.

カラム順を変更する

Moodle 1.8

When you need to change the column order for your themes you can add the following settings to your theme config.php.

$THEME->layouttable = array('left', 'right', 'middle');

/// These values define the order of the columns for all
/// pages showing sideblocks. If not set Moodle uses the 
/// default order:
/// $THEME->layouttable = array('left', 'middle', 'right');

テーマ優先度

Moodle 1.9

In Moodle 1.9 onwards, the priority of themes can be set. The order defines which theme wins when there are several set at different levels. You can set a variable in config.php called $CFG->themeorder (see config-dist.php for more details). By default it is set to:

$CFG->themeorder = array('page', 'course', 'category', 'session', 'user', 'site');

活動タイプナビゲーションを非表示にする

Moodle 1.9

Moodle 1.9以降、ナビゲーションバー内に表示される活動タイプ (例 小テスト) は、学生またはすべてのユーザから隠すことができます。

関連情報