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

Summit’s picture

sorry, I asked this question double, I see now, see: http://drupal.org/node/190065
again sorry.
greetings,
Martijn

ddrozdik’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Version 5 of the module is not supported anymore.