[development] accessing profile data

Augustin (Beginner) drupal.beginner at wechange.org
Sun Oct 8 11:54:37 UTC 2006


Hello,

I am using the profile.module to set some profile fields.

How can the module get the value of the profile field for the current user.
I am sure it was in $user->data (which we had to unserialize), but it doesn't 
seem to be the case anymore. 
I am working with HEAD but I did a quick test with 4.7 and I have the same 
problem.

Now, when I do print_r($user), I don't see any value corresponding to my 
profile field, not even in $user->data?

Where is it supposed to be?

thanks,

Augustin.




-- 
http://www.wechange.org/
Because we and the world need to change.
 
http://www.reuniting.info/
Intimate Relationships, peace and harmony in the couple.


More information about the development mailing list