- Posts: 8
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
3 years 5 months ago #207277
by mfroehler
Newbie question regarding the data protection settings / and another question was created 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
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.
- cdorin
- Offline
- Elite Member
Less
More
- Posts: 234
- Thank you received: 40
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.
Replied by cdorin on topic Newbie question regarding the data protection settings / and another question
For second question, see:
manual.limesurvey.org/Multilingual_survey#Hints_.26_tips
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
3 years 5 months ago #207281
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Newbie question regarding the data protection settings / and another question
Hi,
Depends on the way you like to show the privacy policy.
a. as inline text
Exchange these two lines in "privacy_text.twig"
that the checkbox is first.
b. as collapsable text
Exchange these two lines in "privacy_modal.twig"
Good luck
Joffm
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"What I'm tasked to do is place the checkbox for the data protection to the left of the text on the welcome page.
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> &nbsp;<input required class="{{ aSurveyInfo.class.privacydataseccheckbox }}" type="checkbox" name="datasecurity_accepted" id="datasecurity_accepted" />
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> &nbsp;<input class="{{ aSurveyInfo.class.privacydataseccheckbox }}" type="checkbox" name="datasecurity_accepted" id="datasecurity_accepted" />
Just add the <a href> to the message with a <br/> likeAnd I'd like to add another line of text with a link to another file (the revocation declaration?).
In "firstpage.twig" remove thisAlso, 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).
Good luck
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- mfroehler
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 5 months ago #207348
by mfroehler
Replied by mfroehler on topic Newbie question regarding the data protection settings / and another question
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!
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
3 years 5 months ago #207350
by Joffm
Therefore you have to copy manually and edit with an editor of your choice..
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
Replied by Joffm on topic Newbie question regarding the data protection settings / and another question
Exactly; they are not published.Because I don't see those twigs in the frontend yet.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 5 months ago #207358
by mfroehler
Replied by mfroehler on topic Newbie question regarding the data protection settings / and another question
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 5 months ago #207437
by mfroehler
Replied by mfroehler on topic Newbie question regarding the data protection settings / and another question
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?
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
3 years 5 months ago #207444
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Newbie question regarding the data protection settings / and another question
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.