Actions

Extension compatibility/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "=アンケートテーマ= 互換性のないアンケートテーマを修正するには、このテーマの"config.xml"ファイル内に正しいバージョン番号を指定する"compatibility"オプションを追加します。")
(Created page with "=プラグイン=")
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
互換性のないアンケートテーマを修正するには、このテーマの"config.xml"ファイル内に正しいバージョン番号を指定する"compatibility"オプションを追加します。
互換性のないアンケートテーマを修正するには、このテーマの"config.xml"ファイル内に正しいバージョン番号を指定する"compatibility"オプションを追加します。


This can be done in 2 ways:<br>
これは2つの方法で実行できます。<br>
#Export the survey theme and access the config.xml file.
#アンケートテーマをエクスポートし、config.xmlファイルにアクセスします。
#If you have access to the server, the config.xml is located inside "upload/themes/survey/YOURTHEMENAME" of the applications root directory.
#サーバーにアクセスできる場合、config.xmlはアプリケーションのルートディレクトリーの"upload/themes/survey/YOURTHEMENAME"の中にあります。
Carefully examine in a dummy survey which changes you need to make before using your custom survey theme in a live environment.
実際の環境でカスタムアンケートテーマを使用する前に、ダミーのアンケートを使ってどのような変更を行う必要があるか慎重に調査してください。


=Admin themes=
=管理者テーマ=
{{Alert|text=Before updating the compatibility version number of your config.xml file, please be aware that enabling an incompatible admin theme can break the admin interface of the application.<br>
{{Alert|text=config.xmlファイルの互換性バージョン番号を更新する際は、互換性のない管理者テーマを有効にするとアプリケーションの管理者インターフェースが壊れる可能背があることに注意してください。<br>
If this happens to you, make sure to manually set the theme inside the database table "settings_global" to the default theme "Sea_Green". You can always check in the "application/config/config-defaults.php" file what name should be used in the database $config['admintheme'] = 'Sea_Green';.<br>}}
もしそうなってしまった場合は、データベーステーブルの"settings_global"内のテーマを既定の"Sea_Green"に手動で設定してください。データベースで使用する名前は、$config['admintheme'] = 'Sea_Green'のように、"application/config/config-defaults.php"ファイルでいつでも確認できます。<br>}}
To enable an admin theme again, add the "compatibility" option with the correct version number inside the "config.xml" file for this theme.
管理者テーマを再度有効にするには、このテーマの"config.xml"ファイル内に"compatibility"オプションを追加し、正しいバージョン番号を指定します。


=Question themes=
=質問テーマ=
To make them compatible with a new version of LimeSurvey the compatibility tag in config.xml has to be updated, located in "NAME/survey/questions/answer/QUESTIONTYPENAME/config.xml" within the structure of the quesiton theme.
LimeSurveyの新しいバージョンとの互換性を確保するには、質問テーマ構造内の"NAME/survey/questions/answer/QUESTIONTYPENAME/config.xml"にあるconfig.xml内の互換性タグを更新する必要があります。


=Plugins=
<span id="Plugins"></span>
=プラグイン=

Latest revision as of 00:30, 8 April 2024

Other languages:

説明

すべての拡張機能には、config.xmlファイル内に、"compatibility"(互換性)オプションが設定されており、拡張機能がLimeSurveyの現在のバージョンと互換性があるかを決定します。
バージョンは、LimeSurveyの現在のバージョンと比較されます。
アプリケーション内に現存する拡張機能は、アンケートテーマ、管理者テーマ、およびプラグインです。

有効な形式

6
値6が設定されている場合、6から7までのすべてのバージョンと互換性があります。

6.1
6.1.1
値6.1が設定されている場合、6.1から7までのすべてのバージョンと互換性があります。

例:

アンケートテーマ

互換性のないアンケートテーマを修正するには、このテーマの"config.xml"ファイル内に正しいバージョン番号を指定する"compatibility"オプションを追加します。

これは2つの方法で実行できます。

  1. アンケートテーマをエクスポートし、config.xmlファイルにアクセスします。
  2. サーバーにアクセスできる場合、config.xmlはアプリケーションのルートディレクトリーの"upload/themes/survey/YOURTHEMENAME"の中にあります。

実際の環境でカスタムアンケートテーマを使用する前に、ダミーのアンケートを使ってどのような変更を行う必要があるか慎重に調査してください。

管理者テーマ

  config.xmlファイルの互換性バージョン番号を更新する際は、互換性のない管理者テーマを有効にするとアプリケーションの管理者インターフェースが壊れる可能背があることに注意してください。
もしそうなってしまった場合は、データベーステーブルの"settings_global"内のテーマを既定の"Sea_Green"に手動で設定してください。データベースで使用する名前は、$config['admintheme'] = 'Sea_Green'のように、"application/config/config-defaults.php"ファイルでいつでも確認できます。


管理者テーマを再度有効にするには、このテーマの"config.xml"ファイル内に"compatibility"オプションを追加し、正しいバージョン番号を指定します。

質問テーマ

LimeSurveyの新しいバージョンとの互換性を確保するには、質問テーマ構造内の"NAME/survey/questions/answer/QUESTIONTYPENAME/config.xml"にあるconfig.xml内の互換性タグを更新する必要があります。

プラグイン