Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Printing a survey page when the question index is visible

Printing a survey page when the question index is visible 4 years 5 months ago #77871

  • nkorf
  • nkorf's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 12
  • Thank you received: 1
  • Karma: 1
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 ?
The administrator has disabled public write access.

Printing a survey page when the question index is visible 4 years 5 months ago #77875

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9346
  • Thank you received: 1338
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
Last Edit: 4 years 5 months ago by DenisChenu. Reason: code type=css
The administrator has disabled public write access.
The following user(s) said Thank You: nkorf

Printing a survey page when the question index is visible 4 years 5 months ago #77898

  • nkorf
  • nkorf's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 12
  • Thank you received: 1
  • Karma: 1
Thank you very much ! That is essential it should be as an option in the backend :-)
The administrator has disabled public write access.

Printing a survey page when the question index is visible 4 years 5 months ago #77920

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 370
  • Karma: 260
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)limesurvey.org'"
The administrator has disabled public write access.
Time to create page: 0.256 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form