8 Feb
2003
8 Feb
'03
6:59 p.m.
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