Active
Project:
Login Destination
Version:
6.x-2.10
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2010 at 06:21 UTC
Updated:
2 Nov 2010 at 16:53 UTC
For example,
I have following path in "Redirect conditions"
forum
user
Under "Destination URL settings" I would like to redirect to different destination based on the above.
For instance,
forum -> redirect back to forum
user -> redirect to front page
Comments
Comment #1
3cwebdev commentedYes, that is exactly what this module does. For 'forum' or 'user' you will need to come up with the scenario for each one and write a condition that checks for that scenario (you cannot use a path for the condition, it must be a condition to check for, ie user belongs to a specific group, etc). Then, for each condition you would simply return the path to be redirected to.
Comment #2
eporama commentedThe default behavior for Drupal is to return you to the page you were viewing when you logged in if you're using the user_login_block. So, if I'm reading your question right, you can actually skip the forum condition and redirect only on "user". The simplest way to redirect to the homepage is to return a static
<front>.