- Posts: 967
- Thank you received: 220
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Display text when offline and/or expired
- tammo
- Topic Author
- Offline
- Official LimeSurvey Partner
Less
More
1 year 9 months ago #230411
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Display text when offline and/or expired was created by tammo
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.x
Own server or LimeSurvey hosting: Own
Survey theme/template: Any
==================
When a survey is either offline or expired, I would like to be able to inform the person that arrived at the link with some information. At this moment the following happens:
What I would like to have in the "Text elements" of the survey: a text field, just like the other text fields and a switch that gives the possibility to either show the "Offline text" or to show the ugly error message.
Do you agree? Do you have other thoughts about this? Please let me know, so I can make a feature request.
Your LimeSurvey version: 5.x
Own server or LimeSurvey hosting: Own
Survey theme/template: Any
==================
When a survey is either offline or expired, I would like to be able to inform the person that arrived at the link with some information. At this moment the following happens:
- when the survey is expired: ugly error message, which I cannot influence
- when the survey is offline: Error 401: Unauthorized you are not allowed to do this (system message, which I cannot influence)
What I would like to have in the "Text elements" of the survey: a text field, just like the other text fields and a switch that gives the possibility to either show the "Offline text" or to show the ugly error message.
Do you agree? Do you have other thoughts about this? Please let me know, so I can make a feature request.
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
1 year 9 months ago #230415
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Display text when offline and/or expired
Edit layout_errors.twig?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: tammo
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
1 year 9 months ago #230425
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Display text when offline and/or expired
I agree that we need to work on the default way errors are displayed. I always found it a little "off putting" and not very informative. We should collect the possible error scenarios and prepare some standard text. Of course only, if this will make it into the core somehow, otherwise there is no point of doing it collectively here.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- tammo
- Topic Author
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
1 year 9 months ago - 1 year 9 months ago #230446
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Display text when offline and/or expired
Good idea for a workaround: use the description text for display in the error message when there is no other serious error happening...
layout_errors.twig is usable for this, yes.
Thank you tpartner!
layout_errors.twig is usable for this, yes.
Thank you tpartner!
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Last edit: 1 year 9 months ago by tammo.
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
1 year 9 months ago #230449
by jelo
My idea was to have a maintenance mode per survey, where have an textfield, an URL field and on/off button (perhaps with or without date from / till ).
That way, you could redirect visitors of expired URLS to new destinations or inform them. And you could take a survey offline for a while.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Display text when offline and/or expired
There where some posts about ideas around that.What I would like to have in the "Text elements" of the survey: a text field, just like the other text fields and a switch that gives the possibility to either show the "Offline text" or to show the ugly error message.
My idea was to have a maintenance mode per survey, where have an textfield, an URL field and on/off button (perhaps with or without date from / till ).
That way, you could redirect visitors of expired URLS to new destinations or inform them. And you could take a survey offline for a while.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in to join the conversation.