Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Send to Friend on product pages.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 11-15-2002, 08:25 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Also here is how I am linking it in the [skin1]/customer/main/product.tpl

Note that I created my own send2friend.tpl button. You can replace this with a text link if you want.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #12  
Old 12-15-2002, 02:04 PM
 
Normen Normen is offline
 

Newbie
  
Join Date: Nov 2002
Location: the netherlands
Posts: 5
 

Default

B00MER, i get the following error while using your script:

Code:
Warning: Smarty error: unable to read template resource: "mail/sendtofriend.tpl" in /opt/content/luckylenn.nl/HTML/store/Smarty-2.1.1/Smarty.class.php on line 546

I literally copy/paste your scripts and followed the instructions .. do you have an idea what goed wrong?

problem URL is: http://www.luckylenn.nl/store/
__________________
.:: !! http://www.luckylenn.nl - Our LIVE shop !! ::.
Reply With Quote
  #13  
Old 12-15-2002, 02:20 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Norman please see the note I added on the mail templates, I forgot to provide the / inbetween the mail and the template name(s).
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #14  
Old 12-16-2002, 02:25 AM
 
cyberactive cyberactive is offline
 

Senior Member
  
Join Date: Sep 2002
Location: The Netherlands
Posts: 115
 

Default

Nic one Boomer.

But errr....

I get an access denied error....
__________________
Dennis

Shop @ http://www.cyberlease.nl
Version shop: 3.4.4 (shop is NOT life anymore)
Mods:
- Dutch language
- Changed payment methods and shipping methods
- Package tracking system for Dutch TPGpost.
Reply With Quote
  #15  
Old 12-28-2002, 08:11 PM
 
FishBookStore FishBookStore is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 58
 

Default Great job

Works for me.

I did add <? in the first line of sendtofriend.php

http://www.fishbookstore.com/xcart/customer/product.php?productid=16133&cat=251&page=1
Reply With Quote
  #16  
Old 12-28-2002, 09:09 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

I fixed the <? posting on the .php file, sorry about that.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #17  
Old 01-03-2003, 08:10 AM
 
indymart indymart is offline
 

Newbie
  
Join Date: Dec 2002
Location: Indianapolis, IN., USA
Posts: 1
 

Default

Hi,
When i test send to friend i got :
Access denied !
You are not allowed to access that resource!
How can i fix it?
Thank you.
Reply With Quote
  #18  
Old 02-05-2003, 10:16 PM
 
yamz yamz is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 46
 

Default ????

boomer, same as Norman? What do you mean about the /? in front of what?



Please Help!
Reply With Quote
  #19  
Old 02-06-2003, 07:53 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

The main reason you are possibily getting the error is you need to make sure all the filenames and locations are correct, If my post is somewhat misleading please let me know and I will reimplement it with the latest version of x-cart to see if it is still working correctly.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #20  
Old 02-06-2003, 08:59 AM
 
yamz yamz is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 46
 

Default You were right!

Thanks Boomer, hopefully not coming off like a nag! You were right, had the sendtofriend.tpl in the wrong dir.

oops!

Thanks Again!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:21 PM.

   

 
X-Cart forums © 2001-2020