I have an image I reference in dtml as: <dtml-var Man.gif> I move it to an images folder and then try to reference as: <dtml-var /images/Man.gif> It doesnt work. Whats the correct syntax? TIA.
These and many more questions answered at the ZDP http://zdp.zope.org/projects/zfaq/faq/DTML J
From: "Andy McKay" <AndyM@ActiveState.com> Date: Fri, 5 May 2000 09:14:05 -0700 To: <zope@zope.org> Subject: [Zope] Newbie question
I have an image I reference in dtml as: <dtml-var Man.gif>
I move it to an images folder and then try to reference as: <dtml-var /images/Man.gif>
It doesnt work. Whats the correct syntax?
TIA.
_______________________________________________ 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 )
Andy McKay wrote:
I have an image I reference in dtml as: <dtml-var Man.gif>
I move it to an images folder and then try to reference as: <dtml-var /images/Man.gif>
Try: [untested] <dtml-with images> <dtml-var Man.gif> </dtml-with> Michael Bernstein.
----- Original Message ----- From: "Andy McKay" <AndyM@activestate.com> To: <zope@zope.org> Sent: Friday, May 05, 2000 12:14 PM Subject: [Zope] Newbie question
I have an image I reference in dtml as: <dtml-var Man.gif>
I move it to an images folder and then try to reference as: <dtml-var /images/Man.gif>
It doesnt work. Whats the correct syntax?
There is a proposal to start accepting this kind of syntax... but for now: <dtml-with images> <dtml-var Man.gif> </dtml-with> is one way to do it. Kevin
----- Original Message ----- From: Andy McKay <AndyM@activestate.com> To: <zope@zope.org> Sent: Friday, May 05, 2000 6:14 PM Subject: [Zope] Newbie question
I have an image I reference in dtml as: <dtml-var Man.gif>
I move it to an images folder and then try to reference as: <dtml-var /images/Man.gif>
Use: <dtml-with images> <dtml-var Man.gif> </dtml-with> READ "dtml WITH Tag" in DTML-Reference Marcel
participants (5)
-
Andy McKay -
J. Atwood -
Kevin Dangoor -
Marcel Preda -
Michael Bernstein