No link from object?

Author Message

Peter Szmulik

Tuesday 25 May 2004 3:05:18 pm

In the admin interface I'm trying to do something very simple, to make an image "clickable".

When I do:

<td><object id="165" size="small" href="http://domain.xx/index.php/corporate/blablabla" target="_self" /></td>

I do get the image but still no hyperlink!

I'm using eZ 3.4 beta 2

Alexandre Cunha

Tuesday 25 May 2004 6:44:48 pm

Is missing the template var in the embed/image.tpl !

Edit design\your_site_design\override\templates\embed/image.tpl

Replace

<p>{attribute_view_gui attribute=$object.data_map.image image_class=$object_parameters.size}</p>

with

<p>{attribute_view_gui attribute=$object.data_map.image image_class=$object_parameters.size href=$object.data_map.url_alias|ezurl()}</p>

this should work

http://AlexandreCunha.com

Peter Szmulik

Wednesday 26 May 2004 1:22:04 pm

Hi!

Many thanks. Now I do get the same link from every image in the site to the first/home-page of the site; I'm unable to change that in the admin interface by supplying a href attribute to the object tag. Any clue?

Best Regards
Peter

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.