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

提供:MoodleDocs
移動先:案内検索
(ページの作成: {{Moodle For Mobiles}} ===Install Moodle 1.9=== The latest version of Moodle for Mobiles works with Moodle 1.9. ====Moodle for Mobiles for Moodle 1.6 is still available==== Yo...)
 
編集の要約なし
 
(2人の利用者による、間の17版が非表示)
1行目: 1行目:
{{Moodle For Mobiles}}
{{Moodle For Mobiles}}
===Install Moodle 1.9===
===Moodle 1.9 をインストール===


The latest version of Moodle for Mobiles works with Moodle 1.9.
最新版の Moodle for Mobiles Moodle 1.9 で動作します。


====Moodle for Mobiles for Moodle 1.6 is still available====
====Moodle 1.6 用の Moodle for Mobiles も入手可能====


You can still get the old version of Moodle for Mobiles from this url http://download.moodle.org/patches16/mobile.zip This older version works with Moodle 1.6. Instructions for installation of the older version are included in the downloadable package in a file called README.txt
古いバージョンの Moodle for Mobiles は、このURL http://download.moodle.org/patches16/mobile.zip からダウンロード可能であり、Moodle 1.6 にて動作します。
インストール方法は、パッケージに添付された README.txt をご覧ください。


====Optionally install the Japanese language pack.====
====必要に応じて日本語言語パックをインストール====


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


====Optionally install the feedback module.====
====必要に応じてフィードバックモジュールをインストール====


Also if you want to use Andreas Grabs' feedback module the latest version is available from this url :
フィードバックモジュール最新版は次のURLにて :


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


====Moodle Settings.====
====Moodle の設定====


Set the site theme to standardwhite or standard. Or to use another theme see instructions below (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===
===Moodle コードへの追加修正===


1. Add the following line to yourmoodledirroot/course/lib.php line 2 :
1. 以下のコードを yourmoodledirroot/course/lib.php の2行目に続いて追加します。


     include_once($CFG->mfm_dirroot.'/course/mfmbuttons.php');
     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 :
2. 同じファイル(yourmoodledirroot/course/lib.php)の1389行あたり('echo make_editing_buttons' のすぐ近く)に、プラスマークで示す行を追加します。プラスマークは単に追加する行を示すだけですので、作業後に削除してください。


<pre>
<pre>
47行目: 48行目:
</pre>
</pre>


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.
3. standard standardwhite 以外のテーマを使用している場合、customscripts/theme/standard または customscripts/theme/standardwhite をコピーして、現在使用中のテーマ名と同じになるようにリネームします。


4. In yourmoodlewwwroot/config.php replace :
4. yourmoodlewwwroot/config.php にある、次のコードを


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


with
以下のコードに置き換えます。


     require_once($CFG->dirroot.'/mobile/customscripts/lib/setup.php');
     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).
 
[[Category:Contributed code]]
5. 最後に携帯電話で yourmoodleroot.com/admin/ へアクセスし、データベースの設定をします(このページは管理者でログインする必要があります)。
 
=== 関連情報 ===
*[http://moodle.org/mod/forum/discuss.php?d=170245 Moodle for Mobiles で feedback が使えない] - とりあえず動作させる方法
 
[[Category:ブロック ( 非標準 )]]
[[Category:Moodle For Mobiles]]
[[Category:Moodle For Mobiles]]
[[en:Moodle for Mobiles installation]]

2011年4月26日 (火) 10:46時点における最新版

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.

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

フィードバックモジュール最新版は次の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/ にインストールしてください。

Moodle コードへの追加修正

1. 以下のコードを yourmoodledirroot/course/lib.php の2行目に続いて追加します。

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

2. 同じファイル(yourmoodledirroot/course/lib.php)の1389行あたり('echo make_editing_buttons' のすぐ近く)に、プラスマークで示す行を追加します。プラスマークは単に追加する行を示すだけですので、作業後に削除してください。

                         }
                         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. standard か standardwhite 以外のテーマを使用している場合、customscripts/theme/standard または customscripts/theme/standardwhite をコピーして、現在使用中のテーマ名と同じになるようにリネームします。

4. yourmoodlewwwroot/config.php にある、次のコードを

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

以下のコードに置き換えます。

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

5. 最後に携帯電話で yourmoodleroot.com/admin/ へアクセスし、データベースの設定をします(このページは管理者でログインする必要があります)。

関連情報