Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Change navigation button text

Change navigation button text 11 Monate 2 Wochen her #106264

  • LSCitizen
  • LSCitizens Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
Hello,
I am using LimeSurvey Version 2.05+ Build 140226.
I want to update the Limespired template so that the "Previous" navigation button displays "Back". I found div class="survey-navigator" in the navigator.pstpl file, but I can't find this class in the template.css file.

Thanks for your help.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Change navigation button text 11 Monate 2 Wochen her #106270

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 3215
  • Dank erhalten: 429
  • Karma: 136
You can change the text in the translation file.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Change navigation button text 11 Monate 2 Wochen her #106272

  • tpartner
  • tpartners Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 4575
  • Dank erhalten: 901
  • Karma: 401
Or add this to the end of template.js:

$(document).ready(function(){		
	var prevText = 'Back';
	if($('#moveprevbtn .ui-button-text').length > 0) {
		$('#moveprevbtn .ui-button-text').text(prevText);
	}
	else {
		$('#moveprevbtn').text(prevText);
	}
});
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.128 Sekunden
Donation Image