View Single Post
  #3  
Old 06-25-2010, 04:06 PM
 
nivag nivag is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 76
 

Default Re: Make extra field clickable

Hi thank you.... its not working... can I just double check it...

Heres my original tpl - it is slightly different but dont think that would make a difference?

Code:
{* $Id: product.tpl,v 1.14 2009/07/21 13:23:30 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} {foreach from=$extra_fields item=v} {if $v.active eq "Y" && $v.field_value} <tr> <td class="property-name">{$v.field}</td> <td class="property-value" colspan="2">{$v.field_value}</td> </tr> {/if} {/foreach}

And this is what I changed it to:

Code:
{* $Id: product.tpl,v 1.14 2009/07/21 13:23:30 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} {foreach from=$extra_fields item=v} {if $v.active eq "Y" && $v.field_value} <tr> <td class="property-name">{$v.field}</td> <td class="property-value"> {if $v.field eq "yyyy"} <a href="{$v.field_value}">xxxx</a> {else} {$v.field_value} {/if} </td> </tr> {/if} {/foreach}

Have I made an obvious mistake ?
Reply With Quote