19 Jun
2001
19 Jun
'01
3:30 p.m.
Konstantinos Margaritis wrote:
I have a ZCatalog object named images. I tried this
<dtml-in images> <dtml-var "images.getpath(id)"> </dtml-in>
The problem is that getpath() doesn't want the id, but the rid. How do I acquire this knowing the id?
Thanks
If you are using Zope 2.3.x you can use the following: <dtml-in images> <dtml-var getURL> </dtml-in> for absolute urls or <dtml-in images> <dtml-var getPath> </dtml-in> for physical paths. Check out this howto I wrote for other available methods: http://www.zope.org/Members/Caseman/ZCatalog_for_2.3 -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>