son13 Posted April 25, 2006 Posted April 25, 2006 Hi there, I am not experienced with PHP yet. I would love to have the user being redirected to the welcome page after successful creation of their user account (currently they are being redirected from create_account_success.php to login.php). It would be great if someone could help me with my question. Thank you, Son
MoisesZaragoza Posted April 25, 2006 Posted April 25, 2006 after you crreate a acount you go to "create_account_success.php" what you can do is oppen this file and on line 1 before you type any space type <?php header('Location: http://www.yoursite.com/whatPage.php'); ?> at the end of the day the code will be good
son13 Posted April 25, 2006 Author Posted April 25, 2006 Thank you for your reply. And what would I change the following code to (in create_account_success.php) when I want the user being redirected to index.php when clicking the "next"-button? <?php echo '<a href="' . $origin_href . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?> Son
MoisesZaragoza Posted April 25, 2006 Posted April 25, 2006 To go someplace else when they press the continue btn look for a line that read like: <td align="right"><?php echo '<a href="' . $origin_href . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> and change it to <td align="right"><?php echo '<a href="filename.php">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> at the end of the day the code will be good
Recommended Posts
Archived
This topic is now archived and is closed to further replies.