[support] Fwd: get uid in profile
Earnie Boyd
earnie at users.sourceforge.net
Fri Jun 29 18:50:47 UTC 2012
On Fri, Jun 29, 2012 at 2:37 PM, Mayur pimple <mayurpimple12 at gmail.com> wrote:
>
>
> Hi
>
>
> how to get uid of current view user profile.
>
> means: user/123 then get uid= 123
> user/22 then get uid=22
>
> i had write menu alter function. i want uid in that function.
There is a plethora of hook_user_* functions that might help or if you
need just the UID arg(1) will return the 2nd item of the query, in
this case 123 or 22.
--
Earnie
-- https://sites.google.com/site/earnieboyd
More information about the support
mailing list