Download & Extend

How to get content_profile fields to save into another table on INSERT case...

Project:Content Profile
Version:6.x-1.x-dev
Component:User registration module
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi, I have a module that on hook_user 'insert' tries to save the registration data into another table, not a drupal table. I can get everything from $account just fine, easy. But I want to save first and last name too, which are content_profile fields.

Are these fields available when my module calls:

function mymodule_user($op, &$edit, &$account, $category = NULL) {

  switch ($op) {
    case 'insert': {
    // i want to get the content_profile fields now ...
   // is this possible? Or has the data not been saved yet ?

}
}

Thanks for ideas...

nobody click here