Printable Version

Creating and modifying plugins.
Post Reply
sicherheitsblog
Posts: 4
Joined: Mon Jan 12, 2009 9:33 am
Contact:

Printable Version

Post by sicherheitsblog »

Hi,

is there any plugin/URL-syntax/... to open a window with only the text (and maybe the comments) of a blog post (preferably also for static pages etc.) without banner and sidebars? My blog template supports this for actual printing via CSS, but some users don't seem to get that.

Thanks

Michael
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Printable Version

Post by garvinhicking »

Hi!

No, there is no such easy method...the print Stylesheet is really the best way to cover this. What don't your visitors understand about hitting the print button in their browser? :-)

What you could do is edit all your smarty templates and check for a GET Variable like "?print=true", and when this is set, you suppress most of the HTML output. But that requires some work inside your template files.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sicherheitsblog
Posts: 4
Joined: Mon Jan 12, 2009 9:33 am
Contact:

Re: Printable Version

Post by sicherheitsblog »

Thank you for the extra-quick reply! I was indeed hoping for something a little more "plug and play" :)

Regards

Michael
Post Reply