Welcome to the LimeSurvey Community Forum

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

Data policy message on every survey screen

More
3 years 11 months ago #198644 by segui
Hello!

I would like to have the option of showing a privacy message to participants in every survey screen (to display their rights and also other options to exit the survey in addition to the built-in "Exit and clear survey" link (since there is no way for the survey owner to customize what happens after that link is clicked, at the survey level).

I thought I could use the "Data policy settings" for the survey, given what I read here in the online manual:

manual.limesurvey.org/Data_policy_settings

However, I don't see any of the three last settings on that page: "Survey legal notice", "Show data policy in survey" nor "Show legal notice in survey". I was hoping to use "Show data policy in survey" to implement what I need.

Am I missing something? Are these settings somewhere else? I am running version 3.22.11+200330.

Thank you very much!

Ginet
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198657 by Joffm
Replied by Joffm on topic Data policy message on every survey screen
I do not think that you miss something.

But feel free to edit the template.
The right place to implement your private policy message should be the footer.twig.
You can use all features of bootstrap to layout your message, e.g. a button that opens a pop-up dialog

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198662 by holch
Replied by holch on topic Data policy message on every survey screen

I do not think that you miss something.

Well, I am not so sure. I never use this feature, but the text on manual.limesurvey.org/Data_policy_settings indicates that you can show a button for the data policy and the legal notice on every survey page. I don't know if this is the truth, but at least the manual can be understood like that (despite "button on all survey page" being pretty bad English, so we need to check here).

Show data policy in survey: Whether to display the "data policy" button on all survey page. On click this will display a button that shows a popup box(modal) with the "data policy" message.
Show legal notice in survey: Whether to display the "legal notice" button on all survey page. On click this will display a button that shows a popup box(modal) with the "legal notice".


I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198663 by Joffm
Replied by Joffm on topic Data policy message on every survey screen
Yes, I read this the very first time.

But: There are no buttons (Version 3.22.13) on this page



nor did I find them in other places.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
3 years 11 months ago #198667 by segui
Replied by segui on topic Data policy message on every survey screen
Exactly, I don't see any of those settings in the "Data policy" section for a survey.

@Joffm: Hardcoding the message in the footer in the template is not a viable option in my case, because this is something that we need for hundred of different surveys (with different owners) that are using a single template, and their data policy text and exit options can vary from one to the other. Unless you mean adding some kind of placeholder in the footer.twig to display the content of the data policy message setting?

Thanks again for all the input,

Ginet
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198668 by holch
Replied by holch on topic Data policy message on every survey screen
Well, as it seems, this feature does not exist and I don't know if it will any time soon.

But given that you have hundreds of different surveys, you might be think about sponsoring such a feature, which would certainly "accelerate" the process.

But first let's determine what these texts about displaying that button on all pages. Either this was a planned feature and someone got ahead of themselves, or I am understanding the text in the manual wrong.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago - 3 years 11 months ago #198680 by DenisChenu
Replied by DenisChenu on topic Data policy message on every survey screen
Hi Any where in your theme :

You can use {{ aSurveyInfo.datasecurity_notice }}

For example
Code:
{% if aSurveyInfo.datasecurity_notice %}
    <div class="datasecurity_notice alert alert-info">
        {{ aSurveyInfo.datasecurity_notice }}
    </div>
{% endif %}
in views/subviews/survey/group_subviews/group_desc.twig


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.
Last edit: 3 years 11 months ago by DenisChenu.
The following user(s) said Thank You: holch
The topic has been locked.
More
3 years 11 months ago #198835 by segui
Replied by segui on topic Data policy message on every survey screen
Thank you @DenisChenu . I'll use that workaround for now.

Ginet
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198862 by DenisChenu
Replied by DenisChenu on topic Data policy message on every survey screen
It's not a workaround in my opinion.

It must be stable

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.
More
3 years 11 months ago - 3 years 11 months ago #198875 by segui
Replied by segui on topic Data policy message on every survey screen
Sorry @DenisChenu, I meant to say it's an interim solution while the official one (setting in the Data Policy section to show policy in every page, as per the manual) is reviewed (or the manual fixed).

I added it to our template already, and it works as expected.

Thanks again!

Ginet
Last edit: 3 years 11 months ago by segui.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198887 by DenisChenu
Replied by DenisChenu on topic Data policy message on every survey screen
Since i never see this settings in 3 or 4 …

I think it's a manual issue

bugs.limesurvey.org/view.php?id=16248

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.

Lime-years ahead

Online-surveys for every purse and purpose