you dont need to create a controller class for the settings table
just create a model for the settings table

In case user is not created with its settings (in the same add form),
do the following

in the User  model put this
function afterSave($created) {
if($created)
{
$this->Setting->create();
$data['Setting']['user_id']=$this->id;
$this->Setting->save($data);
}
}

have a nice baking day
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to