[Zope] Finding path of an object

Casey Duncan cduncan@kaivo.com
Wed, 20 Jun 2001 09:47:02 -0600


Gitte Wange wrote:
> 
> Hello,
> 
> I now this may be a stupid question but I haven't been able to find help in
> the Zope docs.
> 
> How do I find the path to where a specific object is located ?
> 
> If i have object foo located in folder bar i want the path to look like this:
> /foo/bar
> 
> I tried with absolute_url and getPhysicalPath ... but neither seemed to work
> 

_.string.join(getPhysicalPath(),'/')

hth,
-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>