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ænge, hvis det kun var den ene part, 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 )