Thursday 20 December 2007 4:02:18 am
Hi,
I'm newbie with eZ. I'm trying to modify "Event.tpl" in order to apply a watermark image to all our images in Event objects. I'm trying to edit this file: "C:\eZpublish\ezpublish\extension\ezwebin\design\ezwebin\override\templates\full\event.tpl"
Next line shows an Image embedded in a XML-block attribute called "ronaldinho" in an Event object:
<span>{attribute_view_gui attribute=$node.object.data_map.ronaldinho}</span> This Image is displayed correctly. In order to merge this image with a watermark, i'm trying next:
<span>
{let postkarte=imagefile($node.object.data_map.ronaldinho.url)
logo=imagefile('design/ezwebin_site/images/watermark.png')
}
{attribute_view_gui attribute=image( $postkarte, array($logo, hash(halign, right, valign, bottom, transparency, 0.5)))}
</span>
But this doesn´t works. I can't catch the image path with this:
$node.object.data_map.ronaldinho.url Any idea will be appreciated-
|