[Zope] How to get rid of header and footer information?

Tim Wilson wilson@visi.com
Fri, 31 May 2002 10:36:36 -0500


On Fri, May 31, 2002 at 05:26:40PM +0200, Lorenz Lorenz-Meyer wrote:
> 
> 1. Is it possible to reference the main content area of
> a document EXCLUDING the header and footer information,
> just like a 'clean' property field?

Perhaps you can take some cues from zope.org. Look at
http://www.zope.org/standard_html_header/view_source and
http://www.zope.org/standard_html_footer/view_source and pay particular
attention to lines that refer to 'pp' (printable page) in the DTML.
Clicking the Printable Page link at the bottom of the pages re-renders
that page without the side navigation and such.

FYI, you can use that view_source method all over the zope.org site.
Very helpful.

-Tim

-- 
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson@visi.com |  <dtml-var pithy_quote>  | http://linux.com