Welcome to the LimeSurvey Community Forum

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

Change Register Message

More
5 years 5 months ago #214043 by brais24
Hi People, I have Limesurvey 3.25, I make a survey with register mode and I want to change the text on spanish that appear when you access to the survey, how can I do this? I attach image

Tanks for the help
 
The topic has been locked.
More
5 years 5 months ago #214105 by tpartner
Replied by tpartner on topic Change Register Message
Extend you theme and place something like this in register_message.twig:

Code:
{% if registerSuccess %} <p {{ aSurveyInfo.attr.registermessageb }} >{{ gT("Thank you for registering. You will receive an email shortly.") }}</p> {% else %} {% if sStartDate %} <p {{ aSurveyInfo.attr.registermessagea }} > {{ gT("You may register for this survey but you have to wait for the {{sStartDate}} before starting the survey.") }}</p> {% else %} <p {{ aSurveyInfo.attr.registermessageb }} > {% if aSurveyInfo.sLanguage == 'es' %} My custom Spanish text... {% else %} {{ gT("You may register for this survey if you wish to take part.") }} {% endif %} </p> {% endif %} <p {{ aSurveyInfo.attr.registermessagec }} > {% if aSurveyInfo.sLanguage == 'es' %} Some more Spanish text... {% else %} {{ gT("Enter your details below, and an email containing the link to participate in this survey will be sent immediately.") }} {% endif %} </p> {% endif %} {% if not empty(aSurveyInfo.aErrors) %} <ul class='{{ aSurveyInfo.class.maincoldivdivbul }} alert alert-danger list-unstyled' {{ aSurveyInfo.attr.maincoldivdivbul }}> {% for key, error in aSurveyInfo.aErrors%} <li>{{ error }}</li> {% endfor %} </ul> {% endif %}

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: DenisChenu
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose