Help with template

More
10 months 1 week ago #145791 by markusa
markusa replied the topic: Help with template
I copied my file to : /var/www/limesurvey/upload/templates/my-template/views/survey/frontpage/enterToken.php

But the changes don't seem to work.

Is there a different file to be edited?

Please Log in to join the conversation.

More
10 months 1 week ago #145792 by LouisGac
LouisGac replied the topic: Help with template
config files of LimeSurvey installation and templates should allow this feature:

manual.limesurvey.org/The_template_edito...ws_.28version_2.5.29
The following user(s) said Thank You: markusa

Please Log in to join the conversation.

More
10 months 1 week ago #145793 by markusa
markusa replied the topic: Help with template
Thanks a lot!
Works perfect now!

Please Log in to join the conversation.

More
10 months 1 week ago #145861 by Mazi
Mazi replied the topic: Help with template

markusa wrote: Thanks a lot!
Works perfect now!

So what did you have to adjust to make it work?
Please enlighten us.


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'"

Please Log in to join the conversation.

More
10 months 1 week ago #145862 by LouisGac
LouisGac replied the topic: Help with template
the config files.

Please Log in to join the conversation.

More
10 months 1 week ago #145864 by markusa
markusa replied the topic: Help with template
exactly ;)

Please Log in to join the conversation.

More
10 months 8 hours ago #146223 by markusa
markusa replied the topic: Help with template

LouisGac wrote: Now, you can use the view override to design those pages:
manual.limesurvey.org/The_template_edito...ws_.28version_2.5.29

see this thread for token entry:
www.limesurvey.org/community-services/fo...s-not-working#145660

If there is any view you can't override, just ask me here, I'll add the necessary.


I know, you said any view, but i need to overwrite a controller now. I am setting a surveys as expired from a different software and need to tell the user why. So I have to override the output of controller/survey/index.php (Line 278).

For the moment I have just overwritten it there, but thats not really handy in case of an update.

Would it be possible to pack the calls for the error message in overwriteable functions?
Then I could load this one error from my API and still leave the file as it is.

Thanks!
Regards Markus

Please Log in to join the conversation.

More
10 months 7 hours ago #146235 by DenisChenu
DenisChenu replied the topic: Help with template
Hi,

You can replace a controller : manual.limesurvey.org/BeforeControllerAction

About error page : see github.com/SondagesPro/adaptEnterErrorSurveyText using beforeSurveyPage

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now