「Moodle for Mobiles installation」の版間の差分

提供:MoodleDocs
移動先:案内検索
26行目: 26行目:
テーマを standardwhite か standard にしてください。もしくは、(4)以下の手順を参照して別のテーマを使います。
テーマを standardwhite か standard にしてください。もしくは、(4)以下の手順を参照して別のテーマを使います。


===Download Moodle for Mobiles Code===
===Moodle for Mobiles のコードをダウンロード===


Download the Moodle for Mobiles code from here : http://download.moodle.org/patches/mobile.zip
こちらのURLから : http://download.moodle.org/patches/mobile.zip Moodle for Mobiles のコードがダウンロード出来ます。


Install the contents of the package in yourmoodledirroot/mobile/
パッケージの内容を yourmoodledirroot/mobile/ へインストールしてください。


===Then make some small additions to Moodle code===
===Then make some small additions to Moodle code===

2009年10月10日 (土) 15:28時点における版

作成中です - Toshiharu II 2009年10月10日 (土) 03:42 (UTC)

Moodle 1.9 をインストール

最新版の Moodle for Mobiles は Moodle 1.9 で動作します。

Moodle 1.6 用の Moodle for Mobiles も入手可能

古いバージョンの Moodle for Mobiles は、このURL http://download.moodle.org/patches16/mobile.zip からダウンロード可能であり、Moodle 1.6 にて動作します。 インストール方法は、パッケージに添付された README.txt をご覧ください。

必要に応じて日本語言語パックをインストール

You will need to check out the Japanese language pack (or download it with the new lang pack download admin facility) as well - only the english language pack is now included in the main moodle distribution.

必要に応じてフィードバックモジュールをインストール

Also if you want to use Andreas Grabs' feedback module the latest version is available from this url :

http://download.moodle.org/plugins/mod/feedback.zip

Moodle の設定

テーマを standardwhite か standard にしてください。もしくは、(4)以下の手順を参照して別のテーマを使います。

Moodle for Mobiles のコードをダウンロード

こちらのURLから : http://download.moodle.org/patches/mobile.zip Moodle for Mobiles のコードがダウンロード出来ます。

パッケージの内容を yourmoodledirroot/mobile/ へインストールしてください。

Then make some small additions to Moodle code

1. Add the following line to yourmoodledirroot/course/lib.php line 2 :

   include_once($CFG->mfm_dirroot.'/course/mfmbuttons.php');

2. Add the following line marked with a plus to the same file (yourmoodledirroot/course/lib.php) around line 1389 (immediately after the line starting 'echo make_editing_buttons'). Delete the + sign it is just used to mark what you need to add :

                         }
                         echo '  ';
                         echo make_editing_buttons($mod, $absolute, true, $mod->indent, $section->section);
    +                    echo make_mobile_enable_button($mod, $absolute, $section->section);
                     }
                     echo "</td>";
                     echo "</tr>";

3. If you are using a theme other than standard or standardwhite then you need to make a copy of customscripts/theme/standard or customscripts/theme/standardwhite and rename it to the same name as the theme you want to use.

4. In yourmoodlewwwroot/config.php replace :

   require_once("$CFG->dirroot/lib/setup.php");

with

   require_once($CFG->dirroot.'/mobile/customscripts/lib/setup.php');

5. Finally go to yourmoodleroot.com/admin/ on your mobile phone to set up the database (you will need to log in as an admin to access this page).