X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Here's an easy way to hide email addresses (https://forum.x-cart.com/showthread.php?t=18515)

Jon 12-08-2005 12:12 AM

Here's an easy way to hide email addresses
 
Here's an easy way to hide email addresses to help protect against spam collecting bots.

This can be used in your tpl files:

Code:

{mailto address=address@yourdomain.com encode="javascript" subject="Your Mail Subject"}
[/code]

shan 12-08-2005 07:44 AM

more info here

http://smarty.php.net/manual/en/tips.obfuscating.email.php

taltos1 06-01-2006 07:43 AM

This sounds good to me! But a question, is an actual email address coded into the tpl? I checked, for instance, contactus.tpl and did not see my addy hardcoded... Am I missing something?

Thanks

Jon 06-01-2006 08:25 AM

In the contactus the address is not hardcoded, it would be more for custom pages/templates, etc.

taltos1 06-01-2006 08:32 PM

Got you, like if you create static HTML pages ans such... Thanks for the clarification..

webtron 07-02-2006 07:41 AM

In what exact tpl file in 4.1.17 do you put that code?

And where in that file do you paste it?

Thanks.


All times are GMT -8. The time now is 02:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.