Active
Project:
Login Destination
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2011 at 15:03 UTC
Updated:
7 Aug 2012 at 00:46 UTC
I am using the login destination module if i put user it brings me to the user screen but the url at the top is www.domain.com/user
i need it to be www.domain.com/user/1 1 being the uid of whatever user is logining in so something like this is needed
return array('path' => 'user/$user->uid/'>
but that doesn't work.... any ideas?
Comments
Comment #1
shaunpv commentedmy prob is that [uid] shows %5Buid%5D when the link is clicked instead of the user id number
Comment #2
mithy commentedyou put the $user variable in single apostrophes. It is not evaluated. Change to " or use string concatenation.
Comment #3
brianlp commentedThis worked for me