Actions

Extension compatibility/ja: Difference between revisions

From LimeSurvey Manual

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


=Explanation=
=説明=
Every Extension has a "compatibility" option set within its config.xml file which determines if the extension is compatible with the current version of LimeSurvey.<br>
すべての拡張機能には、config.xmlファイル内に、"互換性"オプションが設定されており、拡張機能がLimeSurveyの現在のバージョンと互換性があるかを決定します。<br>
The version will be compared to LimeSurvey's currently installed version.<br>
バージョンは、LimeSurveyの現在のバージョンと比較されます。<br>
Extensions currently present in the application are: Survey themes, Admin themes and Plugins.
アプリケーション内に現存する拡張機能は、アンケートテーマ、管理者テーマ、およびプラグインです。


==Valid formats==
==Valid formats==

Revision as of 00:13, 8 April 2024

Other languages:

説明

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

Valid formats

6
If a value of 6 is set, it will be compatible with all versions between 6 and 7.

6.1
6.1.1
If a value of 6.1 is set, it will be compatible with all versions between 6.1 and 7.

Example:

Survey themes

To fix an incompatible survey theme, add the "compatibility" option with the correct version number inside the "config.xml" file for this theme.

This can be done in 2 ways:

  1. Export the survey theme and access the config.xml file.
  2. If you have access to the server, the config.xml is located inside "upload/themes/survey/YOURTHEMENAME" of the applications root directory.

Carefully examine in a dummy survey which changes you need to make before using your custom survey theme in a live environment.

Admin themes

  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.
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';.


To enable an admin theme again, add the "compatibility" option with the correct version number inside the "config.xml" file for this theme.

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.

Plugins