Posted by RTauson on September 4, 2008 at 7:57am
Hi !
Hope this isn't already posted in the forum, I've tried a couple of hours to find a solution.
I would like to do a multi-site install (either using "true" drupal multi-site or using domain ).
Would like to have a common subdomain that all users use to login, and then be redirected to their respective "home site".
For example the main sub domain would be
portal.example.com
All users should use that address and after log in be redirected to for example:
customer1.example.com
So I guess I want to have a shared user table in portal.example.com then have some kind of info on the user that redirects them.
Anyone having an idea ?
Comments
That will take some custom
That will take some custom programming, but it shouldn't be too difficult. Check out hook_user().
The Boise Drupal Guy!
Session
I did this for Domain User and had to use hook_user() and a temporary session variable that fired a redirect in hook_init().
http://therickards.com/api/file/domain_user/domain_user.module/Domain
--
http://ken.therickards.com/
--
http://ken.therickards.com/