RivalCloud Posted May 29, 2003 Posted May 29, 2003 When a customer logins, what page are they redirected too? And how can I change it to another page? Thanks
guntersammet Posted May 29, 2003 Posted May 29, 2003 It's in login.php. Here is the code: if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } This means that if you come from somewhere and you are redirected to login, you are sent back to there. If there is nothing in the navigation snapshot, you are sent to the default page. you could easily change that. HTH Gunter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.