Hi all.

I'm new in Drupal and I have a problem :)

I'm looking for a module/tutorial, which provides multi login site possibility. One type of visitors must log in with number (id) and password, another with login and password and customers of the shop with another login and password. Is it possible? I looked through many pages/modules/forum topics found nothing about this.

Thanks a lot.

PS. Sorry for my 'English' ;)

Comments

kazaa9’s picture

Up, up, up.

Anyone knows answer for my question? :)

nagarajanl’s picture

You can acheive this in by following ways.

1. Create 3 different roles
2. Create 3 different users and assign a respective user to the specified role.
3. Specify the access permissions for each role (ie which area each user is going to visit)

kazaa9’s picture

Thanks for fast answer.

But it's not easy. I need 3 different login forms. And I have to get data from different tables. Users, who will log in with number and PIN, can't buy something in the shop.

I thought about multi-site installation, or copying and rewriting existing modules for authentication (user, profiles, etc). Is this good way for me?

nagarajanl’s picture

If i understand correctly, the site has 3 different types of users and each own has its own sub-domain(or sub site). Say mysite.com, abc.mysite.com, test.mysite.com etc. If that is the case you can achive this using the same codebase and same database (with multiple db prefixing).

Check the following url for more info

http://drupal.org/node/291373