Re: [Zope] Newbie question re referring to items
oops forgot to send to list Chris Humphries wrote:
someone just asked this on the list last week. search the archives.
basically you need to use aquisition to get in the images context. so these will work:
<dtml-var "images['image_name']"> or <dtml-var "images.image_name"> or <dtml-with images> <dtml-var image_name> </dtml-with>
Gupta, Anu wrote:
Hi all,
Feel stupid for asking this question, but can't work it out...
Given a folder structure similar to the following:
/ test images content
How does a dtml document in /test/content obtain an image from the /test/images folder, without using the <img...> tag. I want to be able to get it using <dtml-var ...>
anu
*************************** IMPORTANT NOTE ************************** The above information is confidential to the addressee and may be privileged. Unauthorised access and use is prohibited. William M. Mercer Limited is regulated by IMRO and the Personal Investment Authority. Registered in London No. 984275 Registered Office: Telford House, 14 Tothill Street, London SW1H 9NB
_______________________________________________ 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 )
-- Chris Humphries Systems Analyst DevIS 540.537.3904
participants (1)
-
Chris Humphries