[Zope] How do you do the printable page link as per Zope site standard footer?ooter?

Kevin Dangoor kid@kendermedia.com
Tue, 14 Sep 1999 13:35:17 -0400


-----Original Message-----
From: Andrew Bunney <abunney@bournemouth.ac.uk>
To: 'Zope mail list' <zope@zope.org>
Date: Tuesday, September 14, 1999 9:17 AM
Subject: [Zope] How do you do the printable page link as per Zope site
standard footer?ooter?


>Having had a good look at the docs etc I can't find out how to do the
>printable page link as per Zope site standard footer.
>Can anyone tell me how to to this?

Check out these links:

http://www.zope.org/dtml_source?path=/standard_html_header

http://www.zope.org/dtml_source?path=/standard_html_footer

You'll notice that the Printable Page link on the Zope.org site will take
you to, for example, index_html?pp=1

In the header and footer, much of the page layout is enclosed within:

<!--#unless pp-->
header/footer stuff
<!--#/unless-->

So, the Printable Page link basically just goes to the same page but sets
the variable "pp" to 1. Then, the header and footer will avoid sending most
of the layout.

Kevin