[Zope] printable page

Jan Ulrich Hasecke janulrich.hasecke@web.de
29 Aug 2001 16:02:42 +0200


Hi,

I saw that on zope.org you can get printable pages. How are they
generated?

I also want to integrate printable pages in my project. I want to do
this by changing the standard_html_header.

I would insert in standard_html_header something like this:

<dtml-if expr="printable">
<html>
<head>
print-stylesheet
<body>

<dtml-else>
<html>
<head>
screen-stylesheet
<body>
...complex navigation 

</dtml-if>

Similar in standard_html_footer.

What would be the right if-construction and how can I set the
condition "printable" dynamically from inside the given
DTMLDocument. The Document should have a button or link which sets the
condition printable while loading itself again.

TIA
juh
-- 
6 Millionen arme Sünderlein
http://www.sudelbuch.de/2000/20000807.html