View Issue Details

This issue affects 2 person(s).
 14
IDProjectCategoryView StatusLast Update
14263Feature requestsDocumentationpublic2025-12-17 18:23
Reportermarkusd1984 Assigned ToLouisGac 
PrioritynoneSeverity@50@ 
Status assignedResolutionopen 
Summary14263: new admin themes can't be activated without editing AdminTheme.php
Description

Currently application/models/AdminTheme.php needs to be edited with the new admin theme name to be included in order to be activated, otherwise it always defaults back to Sea_Green theme.

We can update the documentation of course but do we want this isStandardAdminTheme check to function this way to require additional intervention to just create a new theme?

Or can we remove this check / enable that any new theme name can be activated without this?

Steps To Reproduce

1) copy admin theme
2) change config.xml name to something else
3) activate new theme
4) sea green get's activated instead

TagsNo tags attached.
Bug heat14
Story point estimate
Users affected %

Users monitoring this issue

tassoman

Activities

markusd1984

markusd1984

2018-11-19 13:35

reporter   ~49695

edited the documentation https://manual.limesurvey.org/Custom_Admin_Themes

DenisChenu

DenisChenu

2018-11-19 13:45

developer   ~49696

It's an issue : not related to manual. We can't ask updating a core file in manual.

tassoman

tassoman

2025-12-17 18:23

reporter   ~84034

Why LS can't load all themes inside ./themes/admin/* but only /upload/adminthemes ?
First of all the two directories have different names and it's confusing.
Then ./upload directory is a writable area of the webserver, I don't want my admin theme be writable for security concerns.
LS >3.x (6.x) should load all themes saved in ./themes/admin/ and set in read-only state.
Now, it can do it but can't be enabled. (see picture)

https://www.limesurvey.org/manual/Custom_Admin_Themes#Creating_a_new_theme_3

Issue History

Date Modified Username Field Change
2018-11-19 13:15 markusd1984 New Issue
2018-11-19 13:15 markusd1984 Status new => assigned
2018-11-19 13:15 markusd1984 Assigned To => Mazi
2018-11-19 13:22 Mazi Assigned To Mazi => LouisGac
2018-11-19 13:35 markusd1984 Note Added: 49695
2018-11-19 13:45 DenisChenu Note Added: 49696
2021-03-10 22:36 ollehar Project Bug reports => Feature requests
2025-12-17 18:23 tassoman Note Added: 84034
2025-12-17 18:23 tassoman File Added: Screenshot 2025-12-17 at 18-22-26 Questionari e sondaggi.png
2025-12-17 18:23 tassoman Bug heat 4 => 6
2025-12-17 18:23 tassoman Issue Monitored: tassoman
2025-12-17 18:23 tassoman Bug heat 6 => 14