|Status:||closed (works as designed)|
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?