This must be a namespace problem
I have a site structure like this: root subfolder Then i have made a dtml document "index_html" in the "root" folder like this: ---------------- <html> <head><title>test</title></head> <body> <dtml-var content> </body> </html> ---------------- Also I have a dtml method "content" in the root folder like this: ---------------- <h2>Root folder</h2> this is the content of the root folder ---------------- Then I have made a method "content" in "subfolder" ---------------- <h2>Sub folder</h2> this is the content of the sub folder ---------------- all in all: ---------------- root index_html content subFolder content ---------------- When i view "root" folde i see the index_html document just fine, and the content gets inserted like it should. But when I view the "subFolder" I would expect it to look for the "index_html" in the root folder and then the "content" method in the subFolder. But it uses the "root" folder "content". How can I make it us the "content" in the current directory, but the index_html from the root folder. Can this not be done?? Kind regards Max M
But it uses the "root" folder "content". How can I make it us the "content" in the current directory, but the index_html from the root folder. Can this not be done??
This is an acquisition problem we will all be bitten by at one time or another. There is some documentation about this, including Jim Fultons Acquisition Algebra talk (http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/index.html) and my Changing Contexts in Zope (http://www.zope.org/Members/Hoekstra/ChangingZopeContexts) a way of showing acquisition is described in: http://www.zope.org/Members/chrisw/showaq Rik
participants (2)
-
Max Møller Rasmussen -
Rik Hoekstra