Jump to content

problem with code - URL


Recommended Posts

Hi

Hi need to add in the frontpage a link to an external website and i've added the field in the backoffice and added the following code to product.tpl

<p id="img_url"{if !$product->img_url}style="display: none;"{/ifdevil.gif
<label for="img_url">{l s='Imagem original:'}</label>
<span class="editable"> <a href={$product->img_url|escape:'htmlall':'UTF-8'devil.gifURL</a>
</span>
</p>

What happens is that in the frontage all is has i want to, but the link that should be like "www.google.com" appears like "www.mydomain.com/www.google.com

 

what am i doing wrong?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...