[Zope] background image

Chris Withers chrisw@nipltd.com
Tue, 28 Mar 2000 09:45:52 +0100


> <body background="<dtml-var "myimage>">
>
> this syntax returns an error.

And with good reason, you have overlapping angle brackets, your expression should read

<body background="<dtml-var "myimage">"

or

<body background="<dtml-var myimage>">

but this won't achieve what you want. What you really want is:

<body background="&dtml.url-myimage;"> 

See http://www.zope.org/Members/AlexR/EntitySyntax for more details.

Chris