- Posts: 14
- Thank you received: 5
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Missing template files (.twig) in file control window (Theme Editor)
- QuoTil
- Topic Author
- Offline
- New Member
Less
More
5 years 8 months ago - 5 years 8 months ago #172572
by QuoTil
Missing template files (.twig) in file control window (Theme Editor) was created by QuoTil
Hi folx,
using LS 3.
I'm wondering why not all template files (.twig) used by a specific "Screen" are showing up in file control window of the Theme Editor. E.g. "register_form.twig" is used by the "Register" screen but it is not showing up in the file control window.
Even if I copy the file manually to the respective directory the file gets used by LS correctly but it is not shown in the file control window what means that you can't edit it in the Theme Editor.
What is the underlying issue here (guessing its intended) and how can it be solved?
The actual purpose of my question is that I want to edit "register_form.twig".
Thank you very much!
using LS 3.
I'm wondering why not all template files (.twig) used by a specific "Screen" are showing up in file control window of the Theme Editor. E.g. "register_form.twig" is used by the "Register" screen but it is not showing up in the file control window.
Even if I copy the file manually to the respective directory the file gets used by LS correctly but it is not shown in the file control window what means that you can't edit it in the Theme Editor.
What is the underlying issue here (guessing its intended) and how can it be solved?
The actual purpose of my question is that I want to edit "register_form.twig".
Thank you very much!
Last edit: 5 years 8 months ago by QuoTil.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
5 years 8 months ago #172574
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Missing template files (.twig) in file control window (Theme Editor)
It's in vanilla :
github.com/LimeSurvey/LimeSurvey/blob/d1...illa/config.xml#L234
Maybe need to reset template ?
Maybe need to reset template ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: LouisGac, QuoTil
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
5 years 8 months ago - 5 years 8 months ago #172577
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Missing template files (.twig) in file control window (Theme Editor)
If you register it in the template_editor --> screens --> register section of your config.xml file, you should see it in the editor when you select the "Registration" screen.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 5 years 8 months ago by tpartner.
The following user(s) said Thank You: LouisGac, QuoTil
The topic has been locked.
- LouisGac
- Visitor
5 years 8 months ago #172580
by LouisGac
Replied by LouisGac on topic Missing template files (.twig) in file control window (Theme Editor)
TPartner is right.
BTw, you don't need to reset theme for theme editor configuration, it's always loaded from the XML
BTw, you don't need to reset theme for theme editor configuration, it's always loaded from the XML
The topic has been locked.
- QuoTil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 5
5 years 8 months ago #172581
by QuoTil
Replied by QuoTil on topic Missing template files (.twig) in file control window (Theme Editor)
Very interesting! I'm using an custom extended fruity theme. I now understand that the config.xml is also inherited in this case from vanilla to fruity to fruity_extended. The respective xml-record was not in the config.xml of the vanilla theme at my end. I added the record and it works.
The topic has been locked.
- LouisGac
- Visitor
5 years 8 months ago #172583
by LouisGac
Replied by LouisGac on topic Missing template files (.twig) in file control window (Theme Editor)
it also mean that you're not up to date
please: update.
please: update.
The topic has been locked.