The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: How to edit what is in braces, eg {NAVIGATOR}?

How to edit what is in braces, eg {NAVIGATOR}? 11 Monate 1 Woche her #81871

  • gloton
  • glotons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
How to edit what is in braces, eg {NAVIGATOR}?


Specifically I want to edit this, but I think I will serve for all the labels of this type
<div class="survey-navigator">{NAVIGATOR}</div>
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 11 Monate 1 Woche her #81883

  • gloton
  • glotons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
gloton schrieb:
How to edit what is in braces, eg {NAVIGATOR}?


Specifically I want to edit this, but I think I will serve for all the labels of this type
<div class="survey-navigator">{NAVIGATOR}</div>
This says Siguiente >>
And I want to write Proximo, and delete >>
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 11 Monate 6 Tage her #81889

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5116
  • Dank erhalten: 260
  • Karma: 240
The text can be changed by editing the translation file: This text string can be changed by editing the translation .


At Limesurvey 2 it should also be possible to change/edit/remove the <</>>.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 4 Wochen her #88778

  • Mow
  • Mows Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Karma: 0
I'm using LS 1.9.2 and i have to delete those <</>>.

Can you tell me at least where are they added ? in php ? if yes in which file ?

Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 4 Wochen her #88782

  • Mow
  • Mows Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Karma: 0
I finally found it. They are hardcoded in the index.php file..
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 3 Wochen her #88899

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5116
  • Dank erhalten: 260
  • Karma: 240
Mow schrieb:
I finally found it. They are hardcoded in the index.php file..
Well, the answer depends on the version you are using. There is also a replacement.php file at other versions.

Generally, I don't recommend to change the source code.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 3 Wochen her #88900

  • Mow
  • Mows Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Karma: 0
Do i have the choice ? it's hardcoded! What else can i do ?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 3 Wochen her #88901

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5116
  • Dank erhalten: 260
  • Karma: 240
You can easily re-name the buttons with some lines of Javascript to overwrite the button label.
There should be some examples here at the forum.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 3 Wochen her #88929

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2853
  • Dank erhalten: 423
  • Karma: 243
Add the following to the end of template.js and change the text as required:
$(document).ready(function() {
	if($('#movenextbtn').length > 0) {
		$('#movenextbtn').attr('value', 'New Next');
	}
	if($('#moveprevbtn').length > 0) {
		$('#moveprevbtn').attr('value', 'New Previous');
	}
});
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to edit what is in braces, eg {NAVIGATOR}? 5 Monate 3 Wochen her #88938

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5116
  • Dank erhalten: 260
  • Karma: 240
Tony, what do we need the length check for? To be sure the element exists?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: DenisChenu, ITEd
Ladezeit der Seite: 0.224 Sekunden
Donation Image