Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Add twig file to theme editor

More
5 years 3 weeks ago - 5 years 3 weeks ago #204457 by PlinioMayer
I can't find any way to add a new "subview" file to the theme. Is it possible? I already tried to export the theme, and reupload it with the new files, but they doesn't appear in the .twig listed files in theme editor, although I can see their effects.
Last edit: 5 years 3 weeks ago by PlinioMayer.
The topic has been locked.
More
5 years 3 weeks ago #204467 by tpartner
Add it to the <template_editor> section of your config.xml file.

If you don't have that section, copy it from /themes/survey/vanilla/config.xml - github.com/LimeSurvey/LimeSurvey/blob/ma...illa/config.xml#L115

You may need to reset the theme to see changes.




Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: holch
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose