View Single Post
  #18  
Old 08-07-2008, 10:24 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: send_to_friend.tpl pop up

Thanks for the mod.

There are a couple of changes I had to make to Andrea's summary in post #13 to get it to work for me.

1 - The code for product.php needs to add the ".tpl" after:
func_display("customer/main/send_to_friend.tpl",$smarty);

(Soleag - this could explain it not working for you if you used this code)

2. In the modified code for skin1/customer/main/send_to_friend.tpl, the send button did not work for me, I believe, because some javascript is missing. I added this before the </head>:
Code:
<script src="/skin1/common.js" language="JavaScript" type="text/javascript"></script>

This could be because I am using a shadowbox and not the popup javascript. Maybe the popup still finds the common.js with a popup. I'm not sure.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote