Hi there,
I am trying to make an image a hyperlink but it is not working. This is an image which will be below featured products image. If you see below featured products image default is shown a hyperlink text "see details" and I am trying to replace that with an image having heading see details.
(I have noticed if we directly hyperlink to image it gives a thick blue outline which is not desired.)
I have introduced this image in a next-row after featured products image
in the same table. Featured product image is also a hyperlink but its form is like this :
<a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}>{in clude file="product_thumbnail.tpl" productid=$products[product].productid image_x=140 product=$products[product].product}</a>
Here the called file is made a hyperlink and it is working. But when i do the same thing with "see details" image it is not working. I want the same hyperlink for "see details" image as above.
I tried it two ways
1. i created a file "see-details.tpl" and put the coding there as :
[img]{$ImagesDir}/see-details.gif[/img]
In "products.tpl" file i hyperlinked this .tpl file like this:
{include file="see-details.tpl"}
--------------- output : Not Working
2. i changed the coding in see-details file as :
[img]{$ImagesDir}/b_see-details.gif[/img]
and simply called it in products.tpl file
--------------- output : Not Working
see
http://www.templatearena.com/xcart/customer
Please help me resolve this problem. I would be Greatful to you!!
Thanks
Bye