svella Posted November 30, 2012 Posted November 30, 2012 Hello, I wish to direct customers to a page other than FILENAME_DEFAULT when they login (or logoff). Now there are lines in the login.php page: 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)); } Do I simply change the "tep_redirect(tep_href_link(FILENAME_DEFAULT));" to the file name of choice? Also there is code for the signin button: <p align="right"><?php echo tep_draw_button(IMAGE_BUTTON_LOGIN, 'key', null, 'primary'); ?></p> This appears to draw the button, but the button doesn't appear to have a link to page to go to when clicked? The the code above: else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } control this? Thank you in advance for your assistance! Best, Selena Vella
Recommended Posts
Archived
This topic is now archived and is closed to further replies.