Printing a survey page when the question index is visible

More
5 years 1 month ago #77871 by nkorf
nkorf created the topic: Printing a survey page when the question index is visible
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
5 years 1 month ago - 5 years 1 month ago #77875 by DenisChenu
DenisChenu replied the topic: Printing a survey page when the question index is visible
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).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 5 years 1 month ago by DenisChenu. Reason: code type=css
The following user(s) said Thank You: nkorf

Please Log in to join the conversation.

More
5 years 1 month ago #77898 by nkorf
nkorf replied the topic: Printing a survey page when the question index is visible
Thank you very much ! That is essential it should be as an option in the backend :-)

Please Log in to join the conversation.

More
5 years 1 month ago #77920 by Mazi
Mazi replied the topic: Printing a survey page when the question index is visible

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.

Start now!

Just create your account and start using Limesurvey today.

Register now