Welcome to the LimeSurvey Community Forum

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

Newbie question regarding the data protection settings / and another question

  • mfroehler
  • mfroehler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207277 by mfroehler
Hi everyone,

I got tasked to make some "minor" design changes to a survey some colleagues set up.
However, I'm having some troubles.

We are using version 3.15 and an extended fruity template.

What I'm tasked to do is place the checkbox for the data protection to the left of the text on the welcome page.
And I'd like to add another line of text with a link to another file (the revocation declaration?).
Seems straightforward, but I'm neither a CSS nor JS pro, so I'm struggling.

Also, is it possible to disable the language selector on the welcome page (not the dropdown on the top right, just the box right above the welcome message).

Thanks a lot!
And keep up the good work. The forum helped me already with a lot of other issues I had. :)

Best regards
The topic has been locked.
More
3 years 5 months ago #207279 by cdorin

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207281 by Joffm
Hi,

What I'm tasked to do is place the checkbox for the data protection to the left of the text on the welcome page.

You have to change "privacy_text.twig" or "privacy_modal.twig". When extending a theme these two files are not copied. You have to copy them manually to "upload\themes\survey\extended_theme\views\subviews\privacy"
Depends on the way you like to show the privacy policy.
a. as inline text
Exchange these two lines in "privacy_text.twig"
Code:
<label for="datasecurity_accepted" class="control-label {{ aSurveyInfo.class.privacydataseccheckboxlabel }}">{{ aSurveyInfo.datasecurity_notice_label }}</label>
&amp;nbsp;<input required class="{{ aSurveyInfo.class.privacydataseccheckbox }}" type="checkbox" name="datasecurity_accepted" id="datasecurity_accepted" />
that the checkbox is first.

b. as collapsable text
Exchange these two lines in "privacy_modal.twig"
Code:
<label for="datasecurity_accepted" class="control-label {{ aSurveyInfo.class.privacydataseccheckboxlabel }}">{{ aSurveyInfo.datasecurity_notice_label }}</label>
&amp;nbsp;<input class="{{ aSurveyInfo.class.privacydataseccheckbox }}" type="checkbox" name="datasecurity_accepted" id="datasecurity_accepted" />

And I'd like to add another line of text with a link to another file (the revocation declaration?).

Just add the <a href> to the message with a <br/> like






Also, is it possible to disable the language selector on the welcome page (not the dropdown on the top right, just the box right above the welcome message).

In "firstpage.twig" remove this


Good luck

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • mfroehler
  • mfroehler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207348 by mfroehler
Hi, thanks a lot.
While I added those twig on my server to the security subfolder of my extended fruity, do I have to change something in a config file?
Because I don't see those twigs in the frontend yet.

Thanks again!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207350 by Joffm

Because I don't see those twigs in the frontend yet.

Exactly; they are not published.
Therefore you have to copy manually and edit with an editor of your choice..

to the security subfolder

???
I only see this in the subviews of the extended fruity


What you can do: Clear the asset cache (in "Global configuration").

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • mfroehler
  • mfroehler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207358 by mfroehler
Thanks a lot again.
I was just a bit slow on the uptake.
Now I made it work and it works exactly as you described. My colleagues are happy, so I'm happy.

Best regards
The topic has been locked.
  • mfroehler
  • mfroehler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207437 by mfroehler
Hello again,

so, while I'm already happy where this is heading, is there yet another possibility to move the checkbox up, so it would be to the left of the "Ich bin einverstanden" text? I tried a bit but without success.

The top two lines are obiously text from "Umfragedaten-Richtlinie Beschriftung Checkbox:"



Is this possible or am I out of luck?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207444 by Joffm
Hi,
you may add a style of "vertical-align:top" to the checkbox in the twig-file.


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose