Welcome to the LimeSurvey Community Forum

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

Public statistics dashboard for client but not visible publicly

  • tixeon
  • tixeon's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 1 month ago #181288 by tixeon
I am now using the hosted version of Limesurvey (Limesurvey Professional 3.15.9) and I want to set up a dashboard so that the client can see progress (without logging in) but this link is not promoted to survey respondents or the general public through the system landing page (survey.myURL.com).

In the past (older versions) I have done this by enabling public statistics and then removing the link to public statistics from the survey end page and system landing page within the template. However, in the latest version I can't find where to remove the scripts for these links to make it effectively hidden to the public (so I can still have the statistics URL active to send to the client).

Question: Where in the template do I find the script that adds the 'public statistics' link to the end page and the public system landing page so that I can remove it?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago #181298 by Joffm
Hi, tixeon,

in "submit.twig" you find:

{% if (aSurveyInfo.aCompleted.aPublicStatistics.show == true) %}
<!-- Link to Public statistics -->
<div class="{{ aSurveyInfo.class.submitwrapperdivb }}" {{ aSurveyInfo.attr.submitwrapperdivb }}>
<a href="{{ aSurveyInfo.aCompleted.aPublicStatistics.sUrl }}" title={{ aSurveyInfo.aCompleted.aPublicStatistics.sTitle }} class="{{ aSurveyInfo.class.submitwrapperdivba }}" {{ aSurveyInfo.attr.submitwrapperdivba }}>
{{ gT("View the statistics for this survey.") }}
</a>
</div>
{% endif %}

I think this is the part you want to remove.

Kind regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, tpartner, tixeon, f_funke
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose