Hi everyone,
I've run into a problem. I originally thought that only DTMLMethods would
be inherited over the directory structure, i.e. a index_html method in the root
folder would be available in the subfolders. But now I have the following
problem that also DTMLDocuments are inherited! This destroys a bit my
application logic, as outlined below:
The customers have there own subfolder on the Zope Server where they can
upload their HTML (!) documents. In the Zope root folder I have the
following DTMLMethod index_html which is supposed to be inherited to the
customer's subfolder:
<dtml-if index.html><dtml-var index.html><dtml-elif
index.htm><dtml-var index.htm><dtml-else><dtml-var
header>The <dtml-var "title_or_id()"> site is not yet
available.<dtml-var footer></dtml-if>
The problem is however that the index.htm DTMLDocument (!) is also
inherited to the customer's subfolder so that the "The site is not yet
available" part is never executed :-(
Is there a switch to avoid the inheritance of DTMLDocuments to a specific
folder (i.e. in my case
there's /pool/empl1, /pool/empl2 etc.) that i could set in the /pool
folder in my case?
Thanks again for your help and support,
Philipp