Psytanium Posted February 16, 2018 Share Posted February 16, 2018 Hello, I'm trying to redirect the user to home page after he edit his account, I modified account_edit.php line from <?php echo tep_draw_form('account_edit', tep_href_link(ACCOUNT_EDIT, '', 'SSL'), 'post', 'onsubmit="return check_form(account_edit);"', true) . tep_draw_hidden_field('action', 'process'); ?> To <?php echo tep_draw_form('account_edit', tep_href_link(FILENAME_DEFAULT, '', 'SSL'), 'post', 'onsubmit="return check_form(account_edit);"', true) . tep_draw_hidden_field('action', 'process'); ?> Now the form redirect to home page but no data saved. Link to comment Share on other sites More sharing options...
burt Posted February 16, 2018 Share Posted February 16, 2018 Revert that change. IN account_edit.php, look for tep_redirect(tep_href_link('account.php', '', 'SSL')); and change appropriately. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.