Is there any way to skip the 'following surveys are available' index page?

More
5 months 2 weeks ago #154544 by modifiedcontent
modifiedcontent created the topic: Is there any way to skip the 'following surveys are available' index page?
Is there any way to skip the 'following surveys are available' index page and go directly to the latest/only active survey?

LimeSurvey is on 'mydomain.com/survey'. The introduction text + link will be created in the main CMS. I don't need an index page on '/survey'.

Please Log in to join the conversation.

More
5 months 2 weeks ago #154560 by modifiedcontent
modifiedcontent replied the topic: Is there any way to skip the 'following surveys are available' index page?
Reframed question: Is there a way to get the ID of the latest survey and enter it into a redirect on whatever LS uses as index page?

Putting this in custom template file surveylist.pstpl would do the trick:

<meta content="0; URL = mydomain.com/survey/index.php/{SID }" http-equiv="Refresh" />

If {SID} would enter the correct ID of the latest survey. But it doesn't. Any other way to get latest survey ID at that point? Without access to php?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now