Actions

Difference between revisions of "Mahara日本語ドキュメント/カスタマイズ/ヘルプファイル"

From Mahara Wiki

< Mahara日本語ドキュメント‎ | カスタマイズ
Line 5: Line 5:
 
例えば、あなたが「マイフレンド」ページを変更したい場合、htdocs/lang/en.utf8/help/pages/user/myfriends.html を htdocs/local/lang/en.utf8/help/pages/user/myfriends.html にコピーして、そのコンテンツを必要に応じて変更することができます。後者のファイルのコンテンツは前者のファイルのコンテンツに優先して表示されます。
 
例えば、あなたが「マイフレンド」ページを変更したい場合、htdocs/lang/en.utf8/help/pages/user/myfriends.html を htdocs/local/lang/en.utf8/help/pages/user/myfriends.html にコピーして、そのコンテンツを必要に応じて変更することができます。後者のファイルのコンテンツは前者のファイルのコンテンツに優先して表示されます。
  
Help files for plugins can also be overridden. For example, the help text for "Resume" page, which is originally in htdocs/artefact/resume/lang/en.utf8/help/pages/index.html,  can be changed by creating htdocs/local/lang/en.utf8/help/pages/artifact.resume.index.html with desired content.
+
プラグインのヘルプファイルも優先させる (overridden) ことができます。For example, the help text for "Resume" page, which is originally in htdocs/artefact/resume/lang/en.utf8/help/pages/index.html,  can be changed by creating htdocs/local/lang/en.utf8/help/pages/artifact.resume.index.html with desired content.
  
 
There is no need to edit the original help files, so updating the site to newer versions of Mahara will be easier - merging local changes to the help files with the updated versions will not be required.
 
There is no need to edit the original help files, so updating the site to newer versions of Mahara will be easier - merging local changes to the help files with the updated versions will not be required.
 
[[Category:カスタマイズ]]
 
[[Category:カスタマイズ]]

Revision as of 03:19, 11 August 2011

作成中です - mits

言語ストリングのカスタマイズアプローチと同じく、管理者は修正したヘルプファイルを「local/lang」ディレクトリに入れて、それらのファイルをインストール済みの言語パックの代わりに使用することができます。

例えば、あなたが「マイフレンド」ページを変更したい場合、htdocs/lang/en.utf8/help/pages/user/myfriends.html を htdocs/local/lang/en.utf8/help/pages/user/myfriends.html にコピーして、そのコンテンツを必要に応じて変更することができます。後者のファイルのコンテンツは前者のファイルのコンテンツに優先して表示されます。

プラグインのヘルプファイルも優先させる (overridden) ことができます。For example, the help text for "Resume" page, which is originally in htdocs/artefact/resume/lang/en.utf8/help/pages/index.html, can be changed by creating htdocs/local/lang/en.utf8/help/pages/artifact.resume.index.html with desired content.

There is no need to edit the original help files, so updating the site to newer versions of Mahara will be easier - merging local changes to the help files with the updated versions will not be required.