[support] Fwd: get uid in profile
Patrick Avella
me at patrickavella.com
Fri Jun 29 18:43:36 UTC 2012
<?php
global $user;
$uid= $user->uid;
?>
I believe.
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.
>
> --
>
> Best,
>
> Mayur
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list