Is it possible to change text in the startpage?

More
3 years 10 months ago #112235 by Applesauce
Applesauce created the topic: Is it possible to change text in the startpage?
Hello,

Currently, I am using LimeSurvey 2.05 for administering a questionnaire using tokens.
I would like to change the text on the startpage (the page on which the token needs to be written, before getting access to the questionnaire).

What kind of files can be added in the editor (html-files,JavaScript, or other) and in which file can I add my own texts?
Or do I need to have access to the server in order to change this text?

The questionnaire is in Dutch, so I may need access to translation-files. Is that possible?

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #112236 by fransmarcelissen
fransmarcelissen replied the topic: Is it possible to change text in the startpage?
Have you checked what you can change in the template?
Frans

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #112241 by tpartner
tpartner replied the topic: Is it possible to change text in the startpage?
Two options:

1) Modify the translation - manual.limesurvey.org/How_to_translate_LimeSurvey

2) Add something like this to the end of template.js:
$(document).ready(function(){ 
	if($('#tokenmessage').length > 0 && $('input#token').length > 0) {		
		$('#tokenmessage').html('Some new token input text.<br />And, some more text on a new line.');	
		$('label[for="token"]').html('New label for the input:');
	}
});

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The following user(s) said Thank You: Applesauce

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!