[Zope] newbie question about aquisition

Holger Hoffmann hohoff@rz.uni-potsdam.de
Sat, 05 May 2001 22:24:02 +0200


Hi Tomas,

Tomas Mortensen wrote:
> 
> hi,
> 
> consider the folowing scenario:
> 
> an index_html dtml document is located in the root folder. this document
> includes another dtml document, includefile,  with the dtml-var tag.
> 
> /index_html
> /includefile
> /myfolder/includefile
> /myfolder/mysubfolder/
> 
> if i access the URL http://myhost/myfolder/mysubfolder, i get the index_html
> file from the root folder, by aquisition. the problem is that the included
> dtml file _also_ comes from the root.
> 
> what i want is that the includefile in myfolder will override the one in the
> root folder. is this posible?

yes, if you use a dtml method (not a dtml document) for index_html

... Holger