Posted by Summit on November 4, 2007 at 11:39pm
Jump to:
| Project: | Login Destination |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
I try to get a login redirect to a subdomain with this great module.
I tried the beneath code in the Preserve destination field:
global $user;
if ($user->uid == 1) {
// Redirect the Administrator
return 'admin';
} elseif ($user->uid == 2) {
// Redirect the Site Owner to His page
return "$name.isnow.in";
} else {
return 'node';
}but it doesn't work.
Can someone please help me to get the redirect to a subdomain?
Thanks in advance!
greetings,
Martijn
Comments
#1
sorry, I asked this question double, I see now, see: http://drupal.org/node/190065
again sorry.
greetings,
Martijn