- Posts: 73
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How do I show the survey instead of survey list?
- arunicbe
- Topic Author
- Offline
- Senior Member
Less
More
5 years 1 month ago #180653
by arunicbe
How do I show the survey instead of survey list? was created by arunicbe
Limesurvey by default shows a survey list when you visit the website.
I would like to show a survey directly instead of the survey list.
Is this possible?
I would like to show a survey directly instead of the survey list.
Is this possible?
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
5 years 1 month ago #180658
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 How do I show the survey instead of survey list?
Extend your theme and modify layout_survey_list.twig.
- manual.limesurvey.org/New_Template_System_in_LS3.x
- manual.limesurvey.org/New_Template_System_in_LS3.x
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: arunicbe
The topic has been locked.
- arunicbe
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 0
5 years 1 month ago #180682
by arunicbe
Replied by arunicbe on topic How do I show the survey instead of survey list?
So I extended a theme, made this theme as default theme.
I remove the html code from layout_survey_list.twig and wrote javascript window.location to redirect to the desired survey.
Hope this is the right way to do.
I remove the html code from layout_survey_list.twig and wrote javascript window.location to redirect to the desired survey.
Hope this is the right way to do.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
5 years 1 month ago #180698
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 How do I show the survey instead of survey list?
You may also want to leave an HTML link to the survey in case the JavaScript fails - "If you are not redirected within 30 seconds, click on this link..."
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.