View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19269Bug reportsTheme editorpublic2026-11-24 21:59
ReporterDenisChenu Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Summary19269: Theme config.xml : fix brandlogofile and backgroundimagefile
Description

Since we have code duplication due to usage of brandlogofile, backgroundimagefile, and type:imagefile we must remove this duplication whene we can

Steps To Reproduce

Steps to reproduce

See the duplication : https://github.com/LimeSurvey/LimeSurvey/pull/3621#discussion_r1397389486

Expected result

No code duplication

Actual result

Code duplication

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-11-23 08:45

developer   ~78668

Last edited: 2023-11-23 08:46

Possible (needed ?) solution

  1. Set usage of brandlogofile, backgroundimagefile and Images category as deprectaed in 6.X
  2. Remove the duplication for 7.X (current develop)
gabrieljenik

gabrieljenik

2023-11-23 14:16

developer   ~78677

Well, maybe we could create new themes... Fruity2024, Bootswatch2024, ...
No legacy

DenisChenu

DenisChenu

2023-11-23 16:19

developer   ~78683

Not neede,
But : here : i look to the code

Set usage of brandlogofile, backgroundimagefile and Images category as deprectaed in 6.X

We can not really remove it since it based on name …
Whta happen if we replace type="dropdown" by type="image" : if it work , why not leave it like this ?

Well, maybe we could create new themes... Fruity2024, Bootswatch2024, ...

If we just remove the duplication for 7.X it's OK,

Because : all extended theme are disable when moving to 7, when you extend : it copy whole config.xml … even if you want to update only custom.css

It's worst than previous behaviour …

  • In 3. X, when extend : copy config.xml, but remove <engine> part …
  • in 6.X , when extend : copy config.xml, remove nothing … included <engine> and <compatibility>

We already broke all extended theme for 7.X …

DenisChenu

DenisChenu

2023-11-23 16:20

developer   ~78684

all extended theme are disable when moving to 7

We need a manual page with «What to do to your theme when you update to 7»

Issue History

Date Modified Username Field Change
2023-11-23 08:42 DenisChenu New Issue
2023-11-23 08:45 DenisChenu Note Added: 78668
2023-11-23 08:45 DenisChenu Bug heat 0 => 2
2023-11-23 08:45 DenisChenu Note Edited: 78668
2023-11-23 08:45 DenisChenu Assigned To => gabrieljenik
2023-11-23 08:45 DenisChenu Status new => assigned
2023-11-23 08:46 DenisChenu Note Edited: 78668
2023-11-23 14:16 gabrieljenik Note Added: 78677
2023-11-23 14:16 gabrieljenik Bug heat 2 => 4
2023-11-23 16:19 DenisChenu Note Added: 78683
2023-11-23 16:20 DenisChenu Note Added: 78684
2026-11-24 21:59 c_schmitz Status assigned => resolved
2026-11-24 21:59 c_schmitz Resolution open => fixed