[Zope] __bobo_traverse__ and context.

Dieter Maurer dieter@handshake.de
Sat, 8 Feb 2003 19:59:08 +0100


James Davies wrote at 2003-2-8 16:08 +1000:
 > I have a Zope product that uses a 'skins' folder to allow easy customisation. 
 > Using a custom __bobo_traverse__ I am able to check various subpaths and 
 > return the correct object, HOWEVER the returned object is in the context of 
 > the skins folder, which screws up navigation. 
 > 
 > How do I make an object appear to be in the current location rather in the 
 > skins folder? I've tried working out how CMF portal_skins does it and believe 
 > it has something to do with __of__, but can't figure out exactly how.
Please read the "Acquisition" section in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

or Jim's article about acquisition.


Dieter