Change text and color of the "Print your answers" button

Mehr
1 Jahr 9 Monate her #162643 von moisespaivaspi
Good Morning.

In the survey I did recently, I was asked to change the text of the "Print your answers" button to "To save all the results of your survey in pdf or xml click on this link.". I was also asked to adjust this text to the rest of the text of the final message.

Can anyone tell me which css and html files I have to access to make the changes ?.

Best regards.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
1 Jahr 9 Monate her - 1 Jahr 9 Monate her #162644 von LouisGac
there are various ways to do that.

In LS 3.x, you can change that string in the twig file (by extending a theme in theme editor):


github.com/LimeSurvey/LimeSurvey/blob/3f...tent/submit.twig#L53

Before LS 3.x, you can update the translation files, or you can create a JS script to replace the string
Letzte Änderung: 1 Jahr 9 Monate her von LouisGac.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 9 Monate her #162649 von moisespaivaspi
Hello LouisGac.

Many thanks for the reply.
Where do I find the twig file? I accessed the "File Manager" from my limesurvey's cpanel but did not find it.

Best regards.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 9 Monate her #162650 von LouisGac
It only exists in LimeSurvey 3.x version.
If you have a prior version you can change directly the string (it's deep into the code), and you should use the translation file.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 9 Monate her #162651 von moisespaivaspi
Hmm, I understood.
My version is 2.72.2 + 171017.

I've been reading about "Translating LimeSurvey" but I confess I did not quite understand how I can proceed to make the changes I need. Can you explain me better about the procedure?

I am sorry for the inconvenience but I am still very unprepared with limesurvey.
Best regards.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 9 Monate her #162670 von tpartner
If you don't want to mess with translations, you can modify the print link text by placing something like this at the end of template.js:

$(document).ready(function() {
	$('.completed-table a.printlink').text('To save all the results of your survey in pdf or xml, click on this link.');
});


Sorry, I don't understand "I was also asked to adjust this text to the rest of the text of the final message.".

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Folgende Benutzer bedankten sich: LouisGac

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 9 Monate her #162674 von moisespaivaspi
Many thanks for you help.

I'ts was great.

Best regards

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha