Welcome to the LimeSurvey Community Forum

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

Where can I edit /privacy_modal.twig

  • LevinF
  • LevinF's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171619 by LevinF
Where can I edit /privacy_modal.twig was created by LevinF
Hi,

I've got a pretty basic question: Where can I edit the subview './subviews/privacy/privacy_modal.twig' referenced in the default design?
Code:
{{include( './subviews/privacy/privacy_modal.twig')}}

Its probably not important for the question, but we are on 3.12.1 Build 180616


Thanks in Advance!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago - 5 years 8 months ago #171627 by tpartner
Replied by tpartner on topic Where can I edit /privacy_modal.twig
Copy:

/themes/survey/vanilla/views/subviews/privacy/privacy_modal.twig

To:

/upload/themes/survey/yourThemeName/views/subviews/privacy/

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 5 years 8 months ago by tpartner.
The topic has been locked.
More
5 years 5 months ago - 5 years 5 months ago #175388 by michaelziv
Replied by michaelziv on topic Where can I edit /privacy_modal.twig
I copied the file ./subviews/navigation/clearall_links.twig to /upload/themes/survey/yourThemeName/views/subviews/navigation/, but the file is not shown in template editor. I had to create the folder navigation/ manually.
Do I have to edit the file itself, or is it possible to edit it through the limesurvey template editor?

Edit: my goal is to edit the phrase shown when the participant chooses to abort the survey.

Edit: I took a look at clearall_links.twig and the text I want to change is not there which makes perfect sense. How/Where can I change the text?
Last edit: 5 years 5 months ago by michaelziv.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175390 by tpartner
Replied by tpartner on topic Where can I edit /privacy_modal.twig
You can change it in the translation file.

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: michaelziv
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175400 by DenisChenu
Replied by DenisChenu on topic Where can I edit /privacy_modal.twig
Maybe we must add this file(s) in template editor.
Even if we don't show it in the preview …

And maybe a "privacy page" in editor.

Can you make a feature request ?

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 topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago - 5 years 5 months ago #175403 by tpartner
Replied by tpartner on topic Where can I edit /privacy_modal.twig
If you add it to config.xml in your theme, you should see it in the editor.




Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 5 years 5 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose