![]() |
Modifying send to friend button action
Hi, after you send to friend it reloads the current product page by default.
I am trying to edit the action of this, to lets say load another page, or load another section of product.php. My dilemna lies in that the send to friend form (found on send_to_friend.tpl) has the following: Code:
<form action="product.php" method="post" name="send"> Now this leads me to believe the form calls product.php and executes the send function because of a condition set on mode. I can not find any reference to mode in product.php, so I am stuck and can not find the code to modify the action after the send to friend is sent. |
Re: Modifying send to friend button action
product.php includes send_to_friend.php where the mode is checked and the email is sent. Change the func_header_location at the bottom to go wherever you want.
|
All times are GMT -8. The time now is 08:45 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.