[Zope] Finding path of an object

Eric Walstad eric@walstads.net
Wed, 20 Jun 2001 09:17:04 -0700


Hi Gitte,

Try <dtml-var PATH_INFO> or <dtml-var PATH_TRANSLATED>

Also, take a look at what <dtml-var REQUEST> gives you.  It contains =
lots of
good stuff.

Eric.

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of =
Gitte
> Wange
> Sent: Wednesday, June 20, 2001 8:33 AM
> To: zope@zope.org
> Subject: [Zope] Finding path of an object
>
>
> 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
>
>
> --
> Gitte Wange Jensen
>
> Sys Admin, Developer and a lot more
> MMmanager.org Aps, Denmark
>
> Phone: +45 29 72 79 72
> Email: gitte@mmmanager.org
> Web: www.mmmanager.org
>
> Quote of the day:
> "Diskussioner ville ikke vare l=E6nge, hvis det kun var den ene par=
t, der
> tog fejl."
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )