Download & Extend

Prepopulate : Content Profile CCK

Project:Prepopulate
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,
How can I fill the CCK fields added by Content Profile in the user registration form ?
(they are node fields in a registration form)

thanks

Comments

#1

I also need help with this please...
Thanks,
Ben

#2

Priority:minor» critical

Any idea on this?

#3

Status:active» fixed

Here it is! Default PHP value:

global $user;
if ($user->uid) {
profile_load_profile($user);
return array(
   0 => array('value' => $user->profile_name),
  );
}

#4

Status:fixed» closed (fixed)

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