[Zope] __bobo_traverse__ and context.

James Davies jamesd@mena.org.au
Sat, 8 Feb 2003 16:08:24 +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.