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

upupax’s picture

obviously 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));

fago’s picture

Status: Active » Fixed

better use content_profile_load() instead or the new theming help I've just committed to the module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.