View Issue Details

This issue affects 3 person(s).
 50
IDProjectCategoryView StatusLast Update
14207Feature requestsTheme editorpublic2026-12-03 16:08
ReporterDenisChenu Assigned Toollehar  
PrioritynoneSeverityfeature 
Status assignedResolutionopen 
Product Version3.0 
Summary14207: Allow to update template via zip file
Description

We need a way to update theme by zip file : currently, no way to update a external template.

For example : if i sistribute a zip of https://gitlab.com/SondagesPro/SurveyThemes/accessible_vanilla : if i do an update, except via FTP : user have no way to update it …

Additional Information

It must be done for parent theme too …

TagsNo tags attached.
Attached Files
Bug heat50
Git branch / Pull Request URL

Relationships

has duplicate 13250 closed Update button instead of Uninstalling/Reinstalling the theme to reflect config.xml changes 
has duplicate 08426 closed Unable to update an existing template by upload without update survey settings 

Users monitoring this issue

ritapas, tassoman

Activities

ollehar

ollehar

2018-12-18 15:06

reporter   ~49987

Good idea. Could be a minor fix, no? Just delete and replace if it already exist.

ollehar

ollehar

2018-12-18 15:22

reporter   ~49988

Preferably, the plugin manager should be generlized to an extension manager, and themes should also be possible to get update notifications from LimeStore API.

DenisChenu

DenisChenu

2018-12-18 15:26

developer   ~49990

Yes, second one is needed too . But i think need too update.

Yes about deletion, reupload : but

  1. unable to delete used template
  2. unable to delete template with child

And when you reset a theme : it reset all survey theme option too … think must just add new options (with inherit). But it's another things.

ritapas

ritapas

2020-10-23 11:24

reporter   ~60389

this would be great if implemented

Mazi

Mazi

2026-10-20 19:54

updater   ~86649

@c_schmitz, while updating plugins works like a charm, theme updates are still a PITA and currently can only be done by updating theme files using FTP. As tested by @assoman at https://bugs.limesurvey.org/view.php?id=13250#c52484, raising the version number and uploading an updated theme ZIP leads to an error.
The issue exists for years (see this report by @DenisChenu https://bugs.limesurvey.org/view.php?id=8426). Now that I have seen many great fixes of older issues at 7.x, I was hoping that maybe you can look into this issue as well since @ollehar will probably not take this challenge :-)

With the update from 6.x to 7.x we usually add a new theme option for showing/hiding the new "required" text tag to our 7.x themes which means editing 2-3 theme files.
Furthermore, there are updates to the core custom.css file to improve some layout details and sometimes custom code at custom.js needs to be addressed as well.
Of course, the theme's config.xml gets updated as well.

When not being able to access theme files using FTP, such updates are quite a hassle and at production system can also cause issues with the defualt theme being unassigned accidentally.

So I am pretty sure that there are many users who will love to see an update feature for themes similar to plugins, see e.g. https://forums.limesurvey.org/forum/design-issues/127031-how-to-update-the-theme-without-resetting and https://forums.limesurvey.org/forum/design-issues/122666-how-do-i-switch-a-theme-without-affecting-active-surveys.

tassoman

tassoman

2026-10-20 23:46

reporter   ~86651

Hello there, actually I gave up to this. My deployment process now recreates each time the container with the updated code for plugins and themes. Because of this, I'm barely interested on online theme editing, our scenarios meets the use of only one personalised theme for all surveys.
I guess the problem with deleting and recreating a theme are its child coming from online theme editor. in 13250 I was suggesting a naming convention for themes like ThemeName_V.v where V was the version. I don't really know if it's an issue or was accurate. 5 years passed since then.
Thanks to all for going further on this.

DenisChenu

DenisChenu

2026-10-21 09:52

developer   ~86652

PS : even when updating via FTP : if you update something in config.xml : you need to reset ALL surveys theme options.

first

first

2026-12-02 12:47

reporter   ~88033

I am also facing this issue, and I strongly believe that theme updates should be supported in the same way as plugin updates.
Currently, updating an existing theme is quite cumbersome, especially on production installations where FTP access is not always available.

Mazi

Mazi

2026-12-02 13:44

updater   ~88034

@tibor.pacalat: Can you please check whether this can be improved at LS 7.x?
Many people, especially these now updating to 7.x, are facing this issue!

tammo

tammo

2026-12-03 08:40

partner   ~88041

I would fully support a better way for updating themes. My use case: I developed a new theme, but especially in the first phase (pre release), this will have to updated more often than mature themes. Many users have no FTP access and have to use the LimeSurvey UI for updating: deleting the old version, loosing all their changes and the binding of surveys to the theme. And when there are themes that extend the theme, the mother theme cannot be switched off.

Is there a way we can construct where in the config.xml we can indicate which options are new? Or find another solution?

Currently this is a great threshold for people trying new themes.

tassoman

tassoman

2026-12-03 12:08

reporter   ~88044

At the time of writing, uploading a theme having same name but different config.xml dates is refused by the application.
So, there's no way to overwrite files. My hint is to allow only unique theme names but adding a version suffix: MyTheme_20261103 (by keeping default LS versioning)
This because database theme overrides (online theme editor) relies on existing code (uploaded theme, or core theme).
"You would never delete a core theme" (It's a nostalgic citation) :D

So, in a situation with MyCoolSurvey2023 where theme was MyTheme_20230828 things are left untouched and still works.
The day you upload newer version MyTheme20261001 you will have in the GUI two themes (grouped by prefix). So you have option to switch MyCoolSurvey2023 to newer version.
When you update MyEditedTheme, you only refer database theme to newer code and overrides are left old (so will probably break). You have to update customizations overrides to fit 2026 version by hand.

Finally when it works, you can go at MyCoolSurvey2023 admin panel and switch to MyEditedTheme_20261103 who's based on MyTheme_20261001
I hope I explained myself, thanks for reading.

DenisChenu

DenisChenu

2026-12-03 16:08

developer   ~88064

Is there a way we can construct where in the config.xml we can indicate which options are new? Or find another solution?

It's another issue here.

Currently: you can only reset the ALL theme option for ALL surveys. I think I already reported some features to update only the 1st one.

Issue History

Date Modified Username Field Change
2018-11-03 20:04 DenisChenu New Issue
2018-11-03 20:04 DenisChenu File Added: Capture du 2018-11-03 20-01-05.png
2018-12-18 15:05 LouisGac Assigned To => ollehar
2018-12-18 15:05 LouisGac Status new => assigned
2018-12-18 15:06 ollehar Note Added: 49987
2018-12-18 15:21 ollehar Product Version => 4.0.0dev
2018-12-18 15:22 ollehar Note Added: 49988
2018-12-18 15:26 DenisChenu Note Added: 49990
2018-12-18 15:26 DenisChenu Product Version 4.0.0dev => 3.0
2019-06-20 11:14 DenisChenu Relationship added has duplicate 13250
2020-10-23 11:24 ritapas Note Added: 60389
2023-07-27 15:53 ritapas Issue Monitored: ritapas
2023-07-27 15:53 ritapas Bug heat 16 => 18
2023-07-27 15:55 ritapas Bug heat 18 => 24
2026-10-20 19:44 guest Bug heat 24 => 30
2026-10-20 19:54 Mazi Note Added: 86649
2026-10-20 19:54 Mazi Bug heat 30 => 32
2026-10-20 23:46 tassoman Note Added: 86651
2026-10-21 09:52 DenisChenu Note Added: 86652
2026-11-19 21:34 c_schmitz Relationship added has duplicate 08426
2026-11-19 21:34 c_schmitz Bug heat 32 => 44
2026-11-23 11:19 tassoman Issue Monitored: tassoman
2026-11-23 11:19 tassoman Bug heat 44 => 46
2026-12-02 12:47 first Note Added: 88033
2026-12-02 12:47 first Bug heat 46 => 48
2026-12-02 13:44 Mazi Note Added: 88034
2026-12-03 08:40 tammo Note Added: 88041
2026-12-03 08:40 tammo Bug heat 48 => 50
2026-12-03 12:08 tassoman Note Added: 88044
2026-12-03 16:08 DenisChenu Note Added: 88064