| Odesílatel: Dieter Maurer <dieter@handshake.de> | Michael S. Fischer writes: | > 1) We used PHP's "auto_prepend_file" and "auto_append_file" directives | > to paste in a standard header and footer to every HTML document below | > the root. Is there a facility by which we can do this in Zope without | > having each page explicitly call <dtml-var> to render the header and | > footer? | Your options (there may be more): | | * You present your objects through a specialized "view" method. | It can add a header and footer as wanted. | | Drawback: your URL's must become "<path_to_your_object>/view". | see attachment, here you can find my early solution. Now are much improved, but at this barebone. If you have problems with unpackink, it was posted here at 2002/07/16 by me (subj: Showing HTML files) | * You use CMF, maybe in combination with your own product. | Look at the "Document" class (for an example). Try to use KUBE for Zope Templates, it is much easier. Regards JL.