is it possible to add a button "e-mail this page to a friend" in version 7 for an non-technical user?
Announcement
Collapse
No announcement yet.
Email site link
Collapse
X
-
Email page
Hi there
In its most basic form you could provide a link such as:
<a href="mailto:webmaster@mysite.com?subject=Check out my site&body=Here is a link to my site...">Tell a friend</a>.
This will trigger your Outlook/email client, by the way.
Other solutions can be as advanced as you can think of. Let me know if you need more help.
Dave.http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
http://www.dtbrownseeds.co.uk - More seeds and plants....
http://www.mr-fothergills.co.uk - Well it used to be Actinic...
-
Hi,
Don't forget, if you use this type of link in your HTML then Spammers can harvest the e-mail address right out of your pages. Better to use some form of obfuscation such as:
<script language="Javascript">
<!--
a = "name"
b = "yourdomain.com"
c = "subject=E-Mail Subject"
d = "Hyperlink Text"
document.write("<a href='mailto:" + a + "@" + b + "?" + c+ "'>");
document.write(d);
document.write("</a>");
//-->
</script>
We use this technique on one of our Actinic sites (www.bonasana.com) for general e-mail links but we also use a cgi script for "E-Mail this Page to a Friend". Take a look at the site and let us know if you'd like details of the script.
Cheers
IMIS
Comment
-
Email link
That is true about the spammers (I kept it simple in response, as requested).
On our sites we use a javascript that passes the location of the page as a parameter to a perl script. The script is also set up to check that it comes from our domain and if it were not from our domain, it would include our home page as the link.
Let me know if you require further assistance.http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
http://www.dtbrownseeds.co.uk - More seeds and plants....
http://www.mr-fothergills.co.uk - Well it used to be Actinic...
Comment
Comment