Jump to:
| Project: | Login Destination |
| Version: | 7.x-1.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
Issue Summary
I am a newbie. I hope this is the proper forum. Apologies if it is not.
Based on what I have read, login destination is the best way to accomplish this, but I can't quite find the tutorial I need. Any help is greatly appreciated.
What I want to do is this:
1. Have a login page (not my home page...not a block on the homepage) I have this set up with a content type of login...and the url as www.example.com/login This is working. *I am against the block on the home page because I do not want random users setting up accounts. We only want specific groups of people to even know there is a login option, but if that will simplify things, I'm game.*
2. Have 3 different user roles (I have defined these).
3. I want each user role to redirect to a specific node/page upon a successful login. For example: User role A goes to Node A; User role B goes to Node B; User role C goes to Node C; all other users go back to the home page. I only want the users of role A to see node A and so forth.
4. I read http://drupal.org/node/160854, but I am not clear how to add other user roles into the code snippet. Do I need to write 3 different rules? 4 rules? Is the code in the above link a good example?
Thank you!
Comments
#1
Yes, you can definitely achieve this with Login Destination. You will need to set up separate rules for each role in the login destination settings.
http://replacewithyoursite.com/admin/config/people/login-destination/add
Set up a rule for each Role's login destination and you are done. You can add as many as you need to define.
I am going to close this issue. If you are still having problems, feel free to re-open.