Welcome to the LimeSurvey Community Forum

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

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

  • modifiedcontent
  • modifiedcontent's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #154544 by modifiedcontent
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'.
The topic has been locked.
  • modifiedcontent
  • modifiedcontent's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #154560 by modifiedcontent
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?
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose