Forums / Setup & design / Strange behaviour: Link opens only via context menu (right mouse click)
Ulrich L.
Friday 11 March 2005 2:38:24 pm
After having changed a template, I cannot open the link directly anymore, only via the context menu (which should be equivalent, shouldn't it?).
<div class="content-view-line"> <div class="attribute-image"> <a href={$node.url_alias|ezurl}> {attribute_view_gui alignment=left image_class=small attribute=$node.object.data_map.image} </a> </div> </div>
Any ideas?
Ćukasz Serwatka
Sunday 13 March 2005 10:01:40 pm
Hi Uli,
If you want to make link <a> around the your image use href attribute for attribute_view_gui.
<div class="content-view-line"> <div class="attribute-image"> {attribute_view_gui href=$node.url_alias alignment=left image_class=small attribute=$node.object.data_map.image} </div> </div>
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog