View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
14284Bug reportsTheme editorpublic2019-04-30 09:12
Reportermad99 Assigned Todominikvitt 
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version3.15.x 
Summary14284: custom-theme layout_survey_list.twig does NOT overwrite default vanilla layout_survey_list.twig
Description

The file /limesurvey/upload/themes/survey/own-theme-extends_fruity/views/layout_survey_list.twig does NOT overwrite the default File under
/limesurvey/themes/survey/vanilla/views/layout_survey_list.twig

So the change (see in picture 1) in the Theme-Manager has no effects!

All other changes for the Welcome-Page are working fine.(see in picture 2)

And also the file layout_survey_list.twig is copied in the custom-theme-folder (See picture 3).
If I overwrite (hardcoded) the vanilla layout_survey_list.twig file with the content from the custom-theme file layout_survey_list.twig, the change are like they should. All is fine!

Hope will help to catch the bug/solve the problem.

Steps To Reproduce

Click on Configuration > Themes > choose custom Theme > click on button Theme-Editor > choose in «Theme Preview» the value «Surveylist» > click on ayout_survey_list.twig
(own translation from German-Labels: Klicke auf Konfiguration > Designvorlagen > wähle eigene Vorlage > Designvorlagen-Editor > wähle unter «Vorlagen in Vorschau» den Wert «Umfrageliste» > klicke auf ayout_survey_list.twig)
Change the content.
Save the file.
Go to survey Frontpage
Reload

NO CHANGE.

Additional Information

See pictures for details

TagsNo tags attached.
Attached Files
limesurvey-theme-file-exist.png (90,162 bytes)   
limesurvey-theme-file-exist.png (90,162 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)Version 3.15.5+181115
I will donate to the project if issue is resolvedNo
BrowserFirefox / Opera / Chrome
Database type & version MySQL 5.5
Server OS (if known)Apache/2.4.10 (Debian)
Webserver software & version (if known)Debian GNU/Linux 8 (jessie)
PHP Version PHP 7.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

dominikvitt

dominikvitt

2018-11-27 10:40

developer   ~49798

Changes for layout_survey_list.twig file aren't displayed on front page immediately.
You also have to set "Default theme" in Global configuration to your new theme "own-theme-extends_fruity".
Then it would work.

mad99

mad99

2018-11-27 11:17

reporter   ~49802

Hi dominikvitt,
thank you for help. Great to know! And it works.

Without your information, it is very difficult or impossible for unpractised users to recognize why some templates changes do well and others do not.
Is there any documentation about "How do I change the survey-list output"? Could you send me the link?
If there is no documentation yet, it would be very helpful.
Also I couldn't find anything about it in the forum.
It also seems that Carsten Schmitz from support didn't think about this "beginner's mistake".
Documentation about and better findability of the article would certainly help all involved.

dominikvitt

dominikvitt

2018-11-27 11:26

developer   ~49803

Here is a link for LS manual: https://manual.limesurvey.org/New_Template_System_in_LS3.x
You can find a lot of information inside.
There is one line describing this exact issue:
"layout_survey_list.twig : render the survey list (if this theme is set as default)"

c_schmitz

c_schmitz

2019-04-30 09:12

administrator   ~51647

Fixed in Version 3.1.7.3

Issue History

Date Modified Username Field Change
2018-11-26 14:56 mad99 New Issue
2018-11-26 14:56 mad99 File Added: limesurvey-theme-file-exist.png
2018-11-26 14:56 mad99 File Added: limesurvey-theme-layout_survey_list does overwrite dafault theme.png
2018-11-26 14:56 mad99 File Added: limesurvey-theme-survey-list not overwrite default-theme.png
2018-11-27 10:40 dominikvitt Assigned To => dominikvitt
2018-11-27 10:40 dominikvitt Status new => resolved
2018-11-27 10:40 dominikvitt Resolution open => no change required
2018-11-27 10:40 dominikvitt Note Added: 49798
2018-11-27 11:17 mad99 Note Added: 49802
2018-11-27 11:26 dominikvitt Note Added: 49803
2019-04-30 09:12 c_schmitz Note Added: 51647
2019-04-30 09:12 c_schmitz Status resolved => closed