Skip to content

cccties/moodle-theme_chilo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
pix
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

English version is HERE.

The "Chilo" Moodle Theme

・Moodleのメニューやリンクを削除してCHiLO Bookに適したレイアウトにするテーマです。

・このテーマは、CHiLOⓇ の一部として提供されています。

・このテーマは、Moodle3.0 Clean themeをカスタマイズして作成されています。

推奨環境

・ Moodle 3.0以上
・ UNIX 系 OS

top↑

テーマのインストール

  1. Moodle をインストールします。
  2. GitHubから Chiloテーマ( https://github.com/cccties/moodle-theme_chilo/archive/master.zip )をダウンロードし展開します。
  3. 展開後、ディレクトリ名を chilo に変更し、Moodleをインストールしたサーバーの moodle/theme/ に配置します。
  4. 以下のいずれかの方法でテーマを選択してください.
    サイトのテーマがCleanの場合:Chiloテーマをサイト全体のテーマとして設定します。
    サイトのテーマがCleanと異なる場合:CHiLO Bookを登録するコースにのみChiloテーマを設定します.設定方法は,コースの「アピアランス > テーマを強制する」です.

top↑

テーマのデフォルト設定

theme/chilo/javascript/styleSwitcher.jsALLWAYS SIMPLE で、テーマのデフォルトレイアウトを定義します。

ALLWAYS_SIMPLE = false, デフォルトのレイアウトはMoodleの標準レイアウトとする

ALLWAYS_SIMPLE = true, デフォルトのレイアウトはChiloテーマのレイアウトとする

(function( window, document ){
var /* 初期値はfalseとなっています*/
ALLWAYS_SIMPLE = false,

top↑

パラメータと引数

moodleのURL に、chiloflag パラメータを設定することでレイアウトを適用できます(GET メソッド)。

表1 chiloflag パラメータ

ビット 内容
0 ALLWAYS_SIMPLEで設定したディフォルトレイアウトにする
1 CHiLOテーマのレイアウトにする
2 Moodleの標準テーマのレイアウトにする

以下に指定例を示します。

top↑

課題・質問

このソフトの課題、質問、及び要望はこちらにご記載ください。 -> Issues

top↑

Licensing

The CHiLO theme is 'free' software under the terms of the GNU GPLv3 License. (see LICENSE.txt)


日本語版はこちら.

The "Chilo" Moodle Theme

In order to reduce operational errors, hide the menues and links of Moodle which would not be used after configuring Chilo theme.

This software is provided as a part of CHiLOⓇ.

This theme is created by customizing Moodle3.0 Clean theme.

Recommended Environment

  • Moodle 3.0 or higher
  • UNIX-like OS Configuration of Moodle for CHiLO

top↑

Installation of the theme

  1. Install Moodle.
  2. Download Chilo theme( https://github.com/cccties/moodle-theme_chilo/archive/master.zip )from GitHub then expand.
  3. After expanding, change the directory name to chilo and place it to moodle/theme/ of the sever where Moodle is installed
  4. Select the theme from either of the following ways:
    When the site theme is set to "Clean": set the Chilo theme as the theme for the whole site.
    When the site theme is set to other than "Clean": set the Chilo theme only to the course you are registering as CHiLO Book.The setting is "Appearance > Force theme."

top↑

Default setting of the theme

Difine the default layout of the theme by setting ALLWAYS SIMPLE of theme/chilo/javascript/styleSwitcher.js

ALLWAYS_SIMPLE = false, the default layout is set as Moodle standard layout

ALLWAYS_SIMPLE = true, the default setting is set as Chilo theme layout

(function( window, document ){
var /* the default value is false*/
ALLWAYS_SIMPLE = false,

top↑

Parameter and argument

In order to display the screen cusomized in chilo theme from iBooks and others, add on chiloflag parameter to the URL for accessing to normal moodle site (GET method).

Fig.1 Chiloflag parameter

Bit Contents
0 Set to the default layout set in ALLWAYS_SIMPLE
1 Set to the Chilo theme layout
2 Set to the standard theme layout of Moodle

Following are the specified examples.

top↑

Inquiries

Enter any inquiries, opinions, or requests concernig this software. -> Issues

top↑

Licensing

The CHiLO theme is a 'free' software under the terms of the GNU GPLv3 License. (see LICENSE.txt)