Re[2]: [Zope] How to get rid of header and footer information?
Lorenz Lorenz-Meyer
Lorenz Lorenz-Meyer <lorenz@clubvolt.de>
Fri, 31 May 2002 18:34:34 +0200
Thanks, Tim,
this was helpful:
Tim Wilson <wilson@visi.com> schrieb:
> 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.
But it is in my opinion no good solution for the more
general problem of a clear-cut separation of structured
content on the one hand and layout information on the
other. I would still very much like to learn a way to
have the main text area treated like a normal field -
with associated dtml-methods providing for the looks of
the content on different page-types.
Take, for example, a situation where you want the
complete content of a document included in some kind
of list. How would you do that? Probably by handing
over some parameter like "noheader" that is tested by
the header method (<dtml-unless noheader>....). I
think this is illogical. It should be the other way
round somehow.
Best regards,
Lorenz.
________________________________________________________
Dr. Lorenz Lorenz-Meyer Holstenring 2
22763 Hamburg
E-Mail: lorenz@clubvolt.de Tel: +49 40 5259 5551
AIM: lorenzlm Mobil: +49 179 139 5819
________________________________________________________