I know they are simple cck field, but I don't know how to retrieve the nid of the user profile knowing the uid.
Thanks in advance.
I know they are simple cck field, but I don't know how to retrieve the nid of the user profile knowing the uid.
Thanks in advance.
Comments
Comment #1
upupax commentedobviously the content profile will be the one whose author has the uid.
so the code should be like this, isn't it?
node_load(array('type'=>'profile', 'uid'=>$uid));Comment #2
fagobetter use content_profile_load() instead or the new theming help I've just committed to the module.