Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / back function - only goes to main page?

back function - only goes to main page?

Locked

Views: 1,419

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
8 Jan 2009, 2:21 PM
#1
larkje avatar

larkje

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

back function - only goes to main page?

When upgraded my testsite to ver. 1.3.8, the "Back" function always goes back to Main Page, not back to last page visited.
I want to have a "Back" function in pages like Privacy, Shipping Info etc. where the user are taken to the previous page, not to the Main Page.
I would also like the information (the customer input) to be kept if the prev. page was the "Contact us" page and the customer have written some text in the email, but want to see the Privacy before sending the mail.
I have tested this with the code
<a href="javascript:" onclick="history.go(-1); return false>
without any luck.
I have tried to edit the "functions_general.php" under section // Set back button.
Any suggestions?