Closed (fixed)
Project:
Login Destination
Version:
5.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2008 at 15:11 UTC
Updated:
6 Aug 2010 at 13:55 UTC
is it possible to make a redirection per role?
Thanks & regards
Alexander
Comments
Comment #1
Cory Goodwin commentedYes
Comment #2
jdlind38 commentedHow would you redirect users of a specific role and insert their user id in the url?? For example, user/[USER ID]/foo... Basically, I'm looking for the array to return 'user/'.$user->uid.'/my/example'
Comment #3
Cory Goodwin commentedUse this snippet to print the user id.
If you wanted to return a link for a logged in user you could use something like this
--
Need professional help with your Drupal project? Goodwin Solutions
Comment #4
beckyjohnson commentedWhat would you do if you wanted to print out the user name for example the path to user/admin? If you want to re-direct a user to their main account page?
This is what i have so far:
I'm using Drupal 6 though!
Becky
Comment #5
3cwebdev commented