View Full Version : email site to a friend?
jools
05-May-2006, 09:40 AM
Hi
I'd like to be able to set up a function on my site that allows visitors to email the site to a friend, but I don't know how to do it.
I've got some code from a resource website but I don't know where to put it.
I know I sound a bit thick but I've never messed about with the templates or html code in them cos I don't really know what I'm doing.
So can anyone help with some advice on how to do this?
Julie
www.toys-to-you.co.uk
Toys with Integrity
jont
05-May-2006, 09:57 AM
The main templates to appear on all pages are Act_Primary.html and Act_BrochurePrimary.html found in the root of the site1 folder
There is also some code in the advanced user guide (download from the main actinic site) which allows you to place an email link against a product so the email links straight back to the product of interest whichmay be of use
jont
05-May-2006, 10:02 AM
To save you looking you can add the following into your product templates (Design | Options | Layouts and click edit against the product layouts)
To tell a friend about this product enter their Email address<br />
<input type=text value="" size=40 onchange="var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR'; if (this.value != '') { location.href='mailto:' + this.value +'?subject=Take a look at NETQUOTEVAR:PRODUCTNAME&body=I saw' + thisloc + ' and thought you would be interested.'
}
">
<input type=button value="OK">
jools
05-May-2006, 03:37 PM
That's great Jont thanks for posting that code and making it so much easier for me!
I'll give it a try over the weekend.
julie
www.toys-to-you.co.uk
Toys with Integrity
jont
05-May-2006, 03:44 PM
No problem, just be wary about copying and pasting as the forum can munge the code sometimes - should be OK but worth cross checking the Advanced User Guide also
jools
08-May-2006, 05:34 PM
Hi Jont
Managed to copy and paste the code ok but I had no idea where to actually put in within the "edit product layouts" page which came up.
So I tried it just to see what would happen and I stuck the code at the bottom of the page and it provided what I you said it would but instead of putting it against each item it stuck a whole list of "email to a friend" boxes at the top of the page!
Sorry to be a bit thick, but do you by any chance know where I should put the code on the page of html?
Thanks for all your help.
julie
http://www.toys-to-you.co.uk
Toys with Integrity
Bruce
09-May-2006, 10:04 AM
Julie,
Try this article on the Knowledge Base http://knowledge.actinic.com/acatalog/copy_of_v6_Product_Layout.html#aKB376 . Note, you need to add the code immediately after NETQUOTEVAR:TEMPLATEENDXML .
Kind regards,
jools
09-May-2006, 08:03 PM
Thanks for info Bruce I put the code in exactly where you said and it worked a dream!!
Only one problem (there is always a problem with me!!) when you send an email it tells the friend where to go to view the product but you can't just click on the info as a hyperlink, instead they have to copy and paste it into their search bar.
Is there anyway to change the code so it comes up with a hyperlink?
Or have I just done it wrong.
Thanks for all your help guys it is MUCH appreciated. I so wish I'd found this community a year ago.
julie
http://www.toys-to-you.co.uk
Toys with Integrity
RuralWeb
09-May-2006, 09:11 PM
but you can't just click on the info as a hyperlink, instead they have to copy and paste it into their search bar.
Just tried it and it worked as a clickable link for me
Bruce
10-May-2006, 08:20 AM
Julie,
It appears as a non clickable link before you send the email to the desired person. Once the email is received, it is a clickable link.I saw http://www.toys-to-you.co.uk/acatalog/EducationalBabyToyBirthandUp.html#a33 and thought you would be interested
Kind regards,
Nadeem
10-May-2006, 08:29 AM
Hi there
One thing to add upon what Bruce has mentioned, is that if the customer email client software is set to plain text, then you will get a non clickable link. For this, there is no way around it, I'm afraid.
Kind Regards
jools
10-May-2006, 09:46 AM
Thanks to all of you who helped me.
I've got it up and running now.
Take care.
julie
www.toys-to-you.co.uk
Toys with Integrity
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.