Forums / Setup & design / No link from object?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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