Quote from: heliotrope at Jan 28, 2007, 05:16 PM
If you wish to control more accurately the output, do not select any widget.
That way the tv output will be reduced to the image path.
Okay - merci!
That means, if I want to have the alt attribute specified, I need to use a construct like this in my template:
<img src="[*#sideImage*]" alt="[*#sideImgAlt*]" />
Now that works, but doesn’t look like a very robust solution. What if the user forgets to insert an image or deletes it? I’ll end up with a broken img tag. Not good. Is there no out of the box solution for this?
Another question:
I was checking the Copadel page from you sig. Since I learn best from examples, I would be interested to know how you did those three boxes Collecte, Conditonnement and Expédition. With the knowledge I have right now, I would try to do that with a TV for the image, and a TV for the text, multiplied with 3, since there are three boxes. Is that how this has to be approached in MODx? Just asking before I reinvent the wheel ...