By karthikvenkatadri on
we have configured a alumni portal for our institution using Drupal5.x...we have created a block giving a link to a particular page..we need to find the particular user id for updating..how does drupal pass the user id..
Comments
You have to go to
You have to go to http://server-name/?q=admin/user. Here you can see all users you have. If you put your mouse on the links that seems : http://server-name/?q=user/"ID" that represent the page of a particular user, you can see the id of that user. I hope you understand me, I don´t speak english very well.
The current user? I think it
The current user? I think it is
global $user;
if ($user->uid == ......
I'm looking for something similar
Is there a way to have Drupal insert the actual user ID from some variable in the primary or secondary link instead of hacking the theme with the $user->
Perhaps something like a primary link to user/%uid%/edit.
and then, when you have it ...
I'd like to get the user id and pass it to FCK editors file browser an access ONLY the current users images. Clues?