Quote:
Originally Posted by xtech
Hi Mike,
Is this for particular static page or after registration only?
|
I just pointed you to the code that redirects the user after signup. Forgot to say that it is /include/register.php
If you want to got to a different page, just put your page there in place of address_book.php. Haven't tested this yet.
If you need to assign a custom variable from the previous page, just pass it in the URL: register.php?custom=yes
Untested example:
Code:
// Redirect just registered customer
if ($isAutoLogin) {
if ($custom == 'yes'){
$script = 'pages.php?pageid=2'
}else {
$script = 'address_book.php';
}
} else {
$script = 'home.php';
}
This probably won't work but you can give it a shot.