Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Help with template

  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 3 months ago #145783 by LouisGac
Replied by LouisGac on topic Help with template
For token entry, it will be available in next release. If you need it right now, you can just copy frontend_helper from the repo.
For the questions view, it's already available in current version.
The topic has been locked.
More
7 years 3 months ago #145784 by markusa
Replied by markusa on topic Help with template
Is is recommended to just pull from your github repo or should i wait for a release and just update the single files.
Are all the new things already fully tested?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 3 months ago #145785 by LouisGac
Replied by LouisGac on topic Help with template
just copy the frontend helper file, it will work like a charm.
The topic has been locked.
More
7 years 3 months ago #145791 by markusa
Replied by markusa on 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?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 3 months ago #145792 by LouisGac
Replied by LouisGac on 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 topic has been locked.
More
7 years 3 months ago #145793 by markusa
Replied by markusa on topic Help with template
Thanks a lot!
Works perfect now!
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 3 months ago #145861 by Mazi
Replied by Mazi on 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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 3 months ago #145862 by LouisGac
Replied by LouisGac on topic Help with template
the config files.
The topic has been locked.
More
7 years 3 months ago #145864 by markusa
Replied by markusa on topic Help with template
exactly ;)
The topic has been locked.
More
7 years 2 months ago #146223 by markusa
Replied by markusa on 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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146235 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose