[Zope] Inheritance and first post. :)
Dieter Maurer
dieter@handshake.de
Wed, 11 Jul 2001 21:16:40 +0200 (CEST)
Welcome!
Nat Harari writes:
> First question: Inheritance.
>
> I'm doing the tutorial in the Zope Book that I downloaded a few weeks ago and printed out. It's the ZopeZoo site that I'm creating
> right now. For some reason, my standard_html_header is not functioning the way it is supposed to. When you go down into the Reptiles
> folder layer, the standard_html_header is not being read. It is apparently looking for the one in the root folder instead of the
> ZopeZoo folder (which is right above the layer of the Reptiles folder). You know the one I mean? The header that they have you
> create with the navigation system on it. It works for ZopeZoo/index_html but not ZopeZoo/Reptiles/index_html.
That's probably an instance of
"Containment before Context"
a property of Acquisition that confuses many of its users.
You may look at
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html
to find out more.
Probably, you will also find something in the "Zope Developer Guide".
Dieter