[Zope] simple dtml question
Andreas Kostyrka
andreas@mtg.co.at
Tue, 24 Aug 1999 16:48:09 +0200 (CEST)
On Tue, 24 Aug 1999, Tim Wilson wrote:
> Hi everyone,
>
> Why doesn't this work? I hesitate to ask because I'm sure it's a simple
> answer. It's a DTML Method in the / folder. The button image is also in /.
Because <dtml-var acroread_button> returns <IMG SRC="/acroread_button">
You can use either:
<a href="http://www.adobe.com/prodindex/acrobat/readstep.html">
<img border=0 src="<dtml-with acroread_button><dtml-var
absolute-url></dtml-with>">
</a>
or: (assuming ZOPE2)
<a href="http://www.adobe.com/prodindex/acrobat/readstep.html">
<dtml-var "acroread_button.tag(border=0)">
</a>
Andreas
--
Andreas Kostyrka | andreas@mtg.co.at
phone: +43/1/7070750 | phone: +43/676/4091256
MTG Handelsges.m.b.H. | fax: +43/1/7065299
Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA