Reference to the UID

johnvsc - May 2, 2008 - 16:57
Project:Node Profile
Version:5.x-1.4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I think I must be dumb, but I am trying to figure out how I get to the specific nodeprofile from the uid.

I am creating a custom form and I need to pull a value from the db in a cck that I have designated as a profile.... The form is printed out by someone other than the nodeprofile's user.

where can i find this...?

thanks
johnvsc

#1

JustJamesAus - October 7, 2008 - 00:10

Hi johnvsc

I've been struggling with this too - I only just saw your post.

I've discovered that nodeprofile_load('content_type', $user->uid) works sometimes - did you find a better solution?

 
 

Drupal is a registered trademark of Dries Buytaert.