By tmcw on
I'm working with the location module and I want to get a link that will give directions from the user's home address to the address of a location (associated with a node). I can get the node location, but I don't know how to get any of the current user's info. I've looked through most of the Drupal API, past forum posts, etc, and found nothing. Any ideas? Thanks.
Comments
note - it isn't in
note - it isn't in $GLOBALS["user"] either...
global $user;
I believe:
global $user;
Then use the user object... $user->dbfield
--
Read the handbook, search the forums, then ask!
http://drupal.etopian.net (Consulting, Development, and Hosting)