Posted by goose2000 on October 11, 2011 at 4:12pm
1 follower
| 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...