Check out the LimeSurvey source code on GitHub!

Printing a survey page when the question index is visible

More
4 years 10 months ago #77871 by nkorf
Hi,
I have a survey that follows a group by group format. The final group contains question assessments using the marvelous Expression Manager. The question index is displayed on the right hand side which is nice for the users to see how they progress. However when they try to print the page the question index is printed as well. Is there a workaround for it ?

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #77875 by DenisChenu
Hello,

Need css for printing.

Add this in startpage.pstpl, after {TEMPLATECSS}
<link rel="stylesheet" type="text/css"  media="print" href="{TEMPLATEURL}print.css" />

And in print.css, put:
#index{display:none}
.outerframe.withindex,.withindex .outerframe{
  margin-left: 0;
  margin-right: 0;
}
Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 4 years 10 months ago by DenisChenu. Reason: code type=css
The following user(s) said Thank You: nkorf

Please Log in to join the conversation.

More
4 years 10 months ago #77898 by nkorf
Thank you very much ! That is essential it should be as an option in the backend :-)

Please Log in to join the conversation.

More
4 years 10 months ago #77920 by Mazi

nkorf wrote: Thank you very much ! That is essential it should be as an option in the backend :-)

You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form