Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: How to change the token message

How to change the token message 6 years 1 month ago #51293

  • pta
  • pta's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi,

I restyled a template for limesurvey and it works really good.
The only problem I still have is the styling of the error message which appears if a token is needed.
Does someone know in which pstpl-file the html-code for that is defined?
I want to change the code from
<div id="wrapper"><p id="tokenmessage">
into something like
<div id="infobox"><p id="tokenmessage">
...

Thanks in advance!
Peter
The administrator has disabled public write access.

SOLVED: How to change the token message 6 years 1 month ago #51315

  • pta
  • pta's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
I found it...
It is hard coded in the 'index.php'. :blink:
Should be extracted into a pstpl-file in a new release.

Regards,
Peter
The administrator has disabled public write access.

SOLVED: How to change the token message 6 years 1 month ago #51320

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9555
  • Thank you received: 1372
  • Karma: 389
pta wrote:
I found it...
It is hard coded in the 'index.php'. :blink:
Should be extracted into a pstpl-file in a new release.
You're right, and i think it's not the only one hard coded in index.php.

But it's a lot of work, maybe in 1.91 if you make a bug report ! :)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time (Need support ?).
A bug not reported is a bug not corrected. | 2.61lts version improved | Need plugins for LimeSurvey ?
The administrator has disabled public write access.

SOLVED: How to change the token message 6 years 1 month ago #51607

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6027
  • Thank you received: 373
  • Karma: 260
pta wrote:
I found it...
It is hard coded in the 'index.php'. :blink:
Should be extracted into a pstpl-file in a new release.

Regards,
Peter
You can add this as a feature request at our feature tracker . Please describe your idea as detailed as possible and try to outline a suitable solution/implementation aswell.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.247 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form