[Zope] object paths with dtml-var -- newbie
Chris McDonough
chrism@zope.com
Sun, 11 Aug 2002 21:29:03 -0400
Yup.
<dtml-with images>
<dtml-var mds_logo>
</dtml-with>
Slashes aren't allowed in DTML "name" targets.
----- Original Message -----
From: "Danny Morgan" <danielhmorgan@cox.net>
To: <zope@zope.org>
Sent: Sunday, August 11, 2002 9:28 PM
Subject: [Zope] object paths with dtml-var -- newbie
> Good evening, good morning, and good day,
>
> I'm having a small but frustrating problem. I've read the book,
searched
> the archives, etc. Any help
> will be appreciated.
>
> with the file object, "mds_logo" in the current folder, the
following code
> works:
> <html>
> <body>
> <dtml-var mds_logo>
> </body>
> </html>
>
>
> it does not work, however, if I move the object to the "images"
folder and
> reference it
> as follows:
> <html>
> <body>
> <dtml-var images/mds_logo>
> </body>
> </html>
>
>
> for what it's worth, if I call the logo from the address bar in my
browser,
> it works:
>
> http://freezope2.nipltd.net/mds/images/mds_logo
>
>
> Danny
>