[Zope-dev] Re: [Zope] relative path to objects in <dtml-var>

Lennart Regebro lennart@regebro.nu
Tue, 1 Jan 2002 21:59:13 +0100


From: "Roy Mathew" <roymath@yahoo.com>
> How would I use a pathname comprising more than one element in a
> dtml-var expression.

You put the path to the image inside quotes, and have dots as path
separators:
<dtml-var "Images.x_gif">
And of course, then you can't use filenames with dots, and no, it won't
break any browsers that I know of.