Share » Forums » Setup & design » No link from object?

No link from object?

No link from object?

Tuesday 25 May 2004 3:05:18 pm - 2 replies

Author Message

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu