Welcome to the LimeSurvey Community Forum

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

Disable/Edit the index page?

  • Magnar
  • Magnar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 4 months ago #161809 by Magnar
Disable/Edit the index page? was created by Magnar
Hello everyone,

is there a way do disable and/or edit the index page that lists all public surveys? I assume it needs to be manually edited since I can't find a way to do so through the admin interface.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago - 6 years 4 months ago #161817 by holch
Replied by holch on topic Disable/Edit the index page?
You will need to adapt it in the default template.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 6 years 4 months ago by holch.
The following user(s) said Thank You: Magnar
The topic has been locked.
  • Magnar
  • Magnar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 4 months ago #161849 by Magnar
Replied by Magnar on topic Disable/Edit the index page?
Where would I find the directories/files of said template? I don't mind searching through the code to find it, just need a general direction.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161851 by tpartner
Replied by tpartner on topic Disable/Edit the index page?
In the template manager, copy one of the core templates and edit surveylist.pstpl.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Magnar
  • Magnar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 4 months ago - 6 years 4 months ago #161858 by Magnar
Replied by Magnar on topic Disable/Edit the index page?
It seems I am missing something. I do not see any survelist.pstpl among the files, does it need to be added manually?
Last edit: 6 years 4 months ago by Magnar.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161859 by tpartner
Replied by tpartner on topic Disable/Edit the index page?
What version are you using?

If you change the "Screen" setting to "Survey list page", you should see it.


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: holch, Magnar
The topic has been locked.
  • Magnar
  • Magnar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 4 months ago #161864 by Magnar
Replied by Magnar on topic Disable/Edit the index page?
Version 2.72.4 but I see it now; somehow missed this feature until now. Thank you very much for the quick responses.
The topic has been locked.
  • Magnar
  • Magnar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 4 months ago - 6 years 4 months ago #161876 by Magnar
Replied by Magnar on topic Disable/Edit the index page?
I wonder: is it possible to edit the index page so that it always uses a specific template instead of the default one? I want to customize it a lot but since the startpage.pstpl is also connected to the regular survey design, it is probably easier to make a template specifically for the index page.
Last edit: 6 years 4 months ago by Magnar.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161884 by tpartner
Replied by tpartner on topic Disable/Edit the index page?
The index page will be shown with whatever template you select as "Default template" in Configuration --> Global settings --> General.

This does not necessarily need to be the template used for surveys.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Magnar
  • Magnar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 4 months ago - 6 years 4 months ago #161952 by Magnar
Replied by Magnar on topic Disable/Edit the index page?
I know, I just wondered if the index page could be adjusted to not use the default template but a specific one instead, so that you wouldn't need to change the template of new surveys all the time. As a way to save users a few clicks, so to speak.
Last edit: 6 years 4 months ago by Magnar.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161953 by holch
Replied by holch on topic Disable/Edit the index page?
In my opinion the index page should not be part of the survey template, but part of the admin template. But I guess this comes from the time when there were no admin templates and the only way to modify the design without hacking the core was to include the index page into the default survey template.

And I guess there is no way at the moment to NOT use the default template.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: Magnar
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose