How do I show the survey instead of survey list?

More
3 months 4 weeks ago #180653 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?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 months 4 weeks ago #180658 by tpartner
Extend your theme and modify layout_survey_list.twig.

- 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.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: arunicbe, LouisGac

Please Log in or Create an account to join the conversation.

More
3 months 4 weeks ago #180682 by arunicbe
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.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #180698 by tpartner
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.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!