View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
19264Bug reportsQuestion themepublic2023-11-30 17:33
Reporterairamdai Assigned Togabrieljenik  
Status closedResolutionno change required 
Product Version6.2.x 
Summary19264: Custom theme not working

We import custom theme without error but at the moment to use it not work correctly.

Steps To Reproduce

Steps to reproduce

Import question theme from configuration menu.
Create a question and select the new question theme.

Expected result

A custom question theme that inserts buttons for fine control of sliders

Actual result

Don`t show the buttons. We trace the code and use the parent code

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)6.2.11
I will donate to the project if issue is resolvedNo
Database type & versionpostgre
Server OS (if known)
Webserver software & version (if known)
PHP Version8.0.30

Users monitoring this issue

There are no users monitoring this issue.




2023-11-23 14:22

updater   ~78679

@tpartner, do you know if this is a generic Limesurvey issue or just something related to your question theme?



2023-11-24 10:14

reporter   ~78705

seems a generic Limesurvey issue.



2023-11-30 13:47

manager   ~78827

I was trying to reproduce it and at first it seemed that it was indeed wrong, but it turned out to be because I had not checked the “Use slider layout”.

That is, apart from using the theme, you must tell it that it has to use the Slider layout

image.png (4,315 bytes)   
image.png (4,315 bytes)   


2023-11-30 14:11

reporter   ~78833

That question theme add de plus and minus button. You can configure these question settings in the "Custom Theme options" menu. I put that question theme as example what happen with others themes that i used to configure in versións 5.x.x from limesurvey. For example you can import and dont work correctly the searcher.



2023-11-30 14:14

manager   ~78834

Can you please update the reproduction steps of the ticket?



2023-11-30 14:15

reporter   ~78835

I don`t see the plus and minus buttons.

imagen.png (28,393 bytes)   
imagen.png (28,393 bytes)   


2023-11-30 14:17

manager   ~78836

So, if understand correctly, you are having a problem with a specific custom theme or with the general custom theme import process?



2023-11-30 14:27

reporter   ~78837

Aparently the custom theme import correctly and yo can choose it whe yo create a question. But later seem that not execute the code of the custom theme, only execute the code for parent class.
For example in it works like list-dropdown



2023-11-30 15:09

updater   ~78838

@tpartner, can you help with your expertise here?



2023-11-30 15:37

partner   ~78841

My guess is that the file structure is incorrect.

You cannot simply import the GIT download.

In the instructions it says "Extract the download, compress (zip) the Slider-With-Controls folder and import via the theme manager."

The file structure should look like this.

capture-2.png (13,453 bytes)   
capture-2.png (13,453 bytes)   


2023-11-30 15:52

reporter   ~78843

Yes!!!! It works correctly now!!! However in the previos versions I have been importing the theme equals and worked correctly.
Its works fine, thank yo very much! ;)



2023-11-30 16:26

partner   ~78844

@gabrieljenik, not a bug. Please close this.

Issue History

Date Modified Username Field Change
2023-11-22 15:06 airamdai New Issue
2023-11-23 14:22 Mazi Note Added: 78679
2023-11-23 14:22 Mazi Bug heat 0 => 2
2023-11-24 10:14 airamdai Note Added: 78705
2023-11-24 10:14 airamdai Bug heat 2 => 4
2023-11-27 23:35 gabrieljenik Assigned To => gabrieljenik
2023-11-27 23:35 gabrieljenik Status new => assigned
2023-11-30 13:47 gabrieljenik Note Added: 78827
2023-11-30 13:47 gabrieljenik File Added: image.png
2023-11-30 13:47 gabrieljenik Bug heat 4 => 6
2023-11-30 13:48 gabrieljenik Status assigned => feedback
2023-11-30 14:11 airamdai Note Added: 78833
2023-11-30 14:11 airamdai Status feedback => assigned
2023-11-30 14:14 gabrieljenik Note Added: 78834
2023-11-30 14:15 airamdai Note Added: 78835
2023-11-30 14:15 airamdai File Added: imagen.png
2023-11-30 14:17 gabrieljenik Note Added: 78836
2023-11-30 14:27 airamdai Note Added: 78837
2023-11-30 15:09 Mazi Note Added: 78838
2023-11-30 15:23 gabrieljenik Assigned To gabrieljenik =>
2023-11-30 15:23 gabrieljenik Status assigned => acknowledged
2023-11-30 15:37 tpartner Note Added: 78841
2023-11-30 15:37 tpartner File Added: capture-2.png
2023-11-30 15:37 tpartner Bug heat 6 => 8
2023-11-30 15:52 airamdai Note Added: 78843
2023-11-30 16:26 tpartner Note Added: 78844
2023-11-30 17:33 gabrieljenik Assigned To => gabrieljenik
2023-11-30 17:33 gabrieljenik Status acknowledged => closed
2023-11-30 17:33 gabrieljenik Resolution open => no change required