![]() |
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. :wink: |
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/ |
Norman please see the note I added on the mail templates, I forgot to provide the / inbetween the mail and the template name(s).
|
Nic one Boomer.
But errr.... I get an access denied error.... |
Great job
Works for me. :D
I did add <? in the first line of sendtofriend.php http://www.fishbookstore.com/xcart/customer/product.php?productid=16133&cat=251&page=1 |
I fixed the <? posting on the .php file, sorry about that. :wink:
|
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. |
????
boomer, same as Norman? What do you mean about the /? in front of what?
:? Please Help! |
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. :wink: |
You were right!
Thanks Boomer, hopefully not coming off like a nag! You were right, had the sendtofriend.tpl in the wrong dir.
8O oops! Thanks Again! |
All times are GMT -8. The time now is 04:35 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.