View Single Post
  #16  
Old 11-28-2005, 09:39 PM
 
Falkayn Falkayn is offline
 

Newbie
  
Join Date: Jun 2005
Location: Sydney, Australia
Posts: 4
 

Default

Thank you for this solution, it has helped me today tremendously! In the spirit of Christmas sharing I thought it might be handy if I told you how I got around the SPAM problem ...

Instead of using the mailto: link, I linked it to my Contact Us page and then hacked that template to get the subject automatically populated. So for example on the products.tpl page I used:
Code:
Contact us for a price quote.

Whilst on the product.tpl page I used:
Code:
Contact us for a price quote.

In the contactus.tpl page I added this to the subject field:
Code:
<INPUT type="text" id="subject" name="subject" size="32" maxlength="128" value="{$userinfo.subject}{if $smarty.get.subject}{$smarty.get.subject}{/if}">
__________________
Angus McDonald
Snowy Software
X-Cart v4.0.13 [Linux/Zeus]
Reply With Quote