[Zope] Augmenting aquired DTML-Method's in subfolders

Pavlos Christoforou pavlos@gaaros.msrc.sunysb.edu
Mon, 14 Jun 1999 05:02:48 -0400 (EDT)


On 14 Jun 1999, Stefan Bund wrote:

> pretty new to Zope, so maybe there's a better Zope-isch solution to my
> problem, but ...
> 

You might try adding the following in your top-most standard_html_header
(assuming you standard_html_header is a DTML Method)

<!--# if augmented_header -->
<!--# var augmented_header -->
<!--# /if-->

Then just add a Document or even a property with id augmented_header in
your folder of interest.

FYI <!--# var "_.render(mydoc)"-->

will render mydoc in the context of its containing folder. 

Pavlos