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

bentonboomslang’s picture

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

interestingaftermath’s picture

Priority: Minor » Critical

Any idea on this?

interestingaftermath’s picture

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),
  );
}

Status: Fixed » Closed (fixed)

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