Welcome, Guest
Username: Password: Remember me

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

Printing a survey page when the question index is visible 2 years 7 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.

Re: Printing a survey page when the question index is visible 2 years 7 months ago #77875

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
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
Last Edit: 2 years 7 months ago by DenisChenu. Reason: code type=css
The administrator has disabled public write access.
The following user(s) said Thank You: nkorf

Re: Printing a survey page when the question index is visible 2 years 7 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.

Re: Printing a survey page when the question index is visible 2 years 7 months ago #77920

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5424
  • Thank you received: 307
  • Karma: 252
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.
Moderators: ITEd
Time to create page: 0.168 seconds
Donation Image