[Zope] Re: Photo Product fix/question/suggestion

Gregor vorlon@iglou.com
Tue, 11 Jan 2000 00:51:45 -0500


----- Original Message -----
From: "Andrew Lahser" <andrew@apl-software.com>
To: "Gregor" <vorlon@iglou.com>

> Sure. I think I get your problem now. Try this.
>
> <dtml-with "_.getitem(image, 0)">
>   <dtml-var "tag(REQUEST, pdcookie='1', alt='your alt text')">
> </dtml-with>

Hooray!  That works for getting the image and the HTML cookie setting thing
onto the page ...

... except for one bit.  When I try to add the HTML/CSS attribute "class" to
the mix, it once again gives:

---
invalid syntax

, for tag <dtml-var "tag(REQUEST, pdcookie='1', alt='my alt text',
class='trumpimage')">, on line 6 of index_html
---

Looking at this line, I can see nothing wrong with it syntax-wise, unless I
have to do something weird to use "class".  Maybe you can see what I cannot.

- Gregor