Extension compatibility/de: Difference between revisions
From LimeSurvey Manual
Created page with "Erweiterungskompatibilität" |
Updating to match new version of source page |
||
Line 8: | Line 8: | ||
Derzeit in der Anwendung vorhandene Erweiterungstypen sind: Umfragethemen, Admin-Themen und Plugins. | Derzeit in der Anwendung vorhandene Erweiterungstypen sind: Umfragethemen, Admin-Themen und Plugins. | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Valid formats== | ==Valid formats== | ||
6<br> | 6<br> | ||
If a value of 6 is set, it will be compatible with all versions between 6 and 7.<br> | If a value of 6 is set, it will be compatible with all versions between 6 and 7.<br> | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
6.1<br> | 6.1<br> | ||
6.1.1<br> | 6.1.1<br> | ||
If a value of 6.1 is set, it will be compatible with all versions between 6.1 and 7.<br> | If a value of 6.1 is set, it will be compatible with all versions between 6.1 and 7.<br> | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Example:<br> | Example:<br> | ||
[[File:Compatibility_config.PNG]] | [[File:Compatibility_config.PNG]] | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=Survey themes= | =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. | To fix an incompatible survey theme, add the "compatibility" option with the correct version number inside the "config.xml" file for this theme. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
This can be done in 2 ways:<br> | This can be done in 2 ways:<br> | ||
#Export the survey theme and access the config.xml file. | #Export the survey theme and access the config.xml file. | ||
#If you have access to the server, the config.xml is located inside "upload/themes/survey/YOURTHEMENAME" of the applications root directory. | #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. | Carefully examine in a dummy survey which changes you need to make before using your custom survey theme in a live environment. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=Admin themes= | =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=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> | ||
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>}} | 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>}} | ||
To enable an admin theme again, add the "compatibility" option with the correct version number inside the "config.xml" file for this theme. | To enable an admin theme again, add the "compatibility" option with the correct version number inside the "config.xml" file for this theme. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=Question themes= | =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 | 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 question theme. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=Plugins= | =Plugins= | ||
</div> |
Revision as of 17:53, 14 April 2025
Erklärung
Jede Erweiterung verfügt in ihrer Datei config.xml über eine „Kompatibilitäts“-Option, die bestimmt, ob die Erweiterung mit der aktuellen Version von LimeSurvey kompatibel ist.
Die Version wird mit der aktuell installierten Version von LimeSurvey verglichen.
Derzeit in der Anwendung vorhandene Erweiterungstypen sind: Umfragethemen, Admin-Themen und Plugins.
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.
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:
- Export the survey theme and access the config.xml file.
- 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

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 question theme.