Welcome to the LimeSurvey Community Forum

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

Add twig file to theme editor

  • PlinioMayer
  • PlinioMayer's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago - 3 years 8 months ago #204457 by PlinioMayer
Add twig file to theme editor was created 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: 3 years 8 months ago by PlinioMayer.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #204467 by tpartner
Replied by tpartner on topic Add twig file to theme editor
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.

Lime-years ahead

Online-surveys for every purse and purpose