thank you for your message, I'm user of Symfony 1.1 , and I don't want to have many plugins , I prefer my own code ... so I decided to create my registration using user/create (crud), but I want to ask you how should I edit my code to provide that ..here's the user/update action
public function executeUpdate($request) { $this->forward404Unless($request->isMethod('post')); $this->form = new SfGuardUserProfileForm(SfGuardUserProfilePeer::retrieveByPk($request- >getParameter('id'))); $this->form->bind($request- >getParameter('sf_guard_user_profile')); if ($this->form->isValid()) { $sf_guard_user_profile = $this->form->save(); $this->redirect('user/edit?id='.$sf_guard_user_profile- >getId()); } $this->setTemplate('edit'); } thank you On Aug 22, 4:01 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote: > On Fri, Aug 22, 2008 at 4:31 PM, javo <[EMAIL PROTECTED]> wrote: > > I'm new to symfony and I'd like to ask what is the best way to create > > a registration, (create some simple form, use crud user model? , ...) > > Is there any howto? I couldn't find anything Smile > > If you use symfony 1.0, you can take a look at what has been done for > Symfonians using > sfGuard:http://symfonians.org/browser/branches/1.0/apps/main/modules/sfGuardAuth > > ++ > > -- > Nicolas > Perriaulthttp://prendreuncafe.com-http://symfonians.net-http://sensiolabs.com > Phone: +33 660 92 08 67 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---