Noooo :) Please... don't touch to plugins... A smartest solution :
Create a mySfGuardUserForm : class mySfGuardUserForm extends sfGuardUserForm { public function configure() { parent::configure(); // do your stuff here } } Generate a new admin module in your application, and specify in the generator.yml to use mySfGuardUserPlugin : generator: param: config: form: class: mySfGuardUserPlugin Good luck, Alexandre 2009/10/15 Alexandru-Emil Lupu <gang.al...@gmail.com> > you don't need to do that ... > in your / plugins/sfGuard/modules/sfGuardAuth/actions/actions.class.php > writhe this: > > public function theExtendedMethod($request){ > > parent::theExtendedMethod($request); > $this->form->setLabels(array( > 'username'=> 'foo', > 'password'=> 'moo', > 'password_again' => 'boo' > )); > > } > > Alecs > > > On Thu, Oct 15, 2009 at 8:34 PM, g0d br <g0d...@gmail.com> wrote: > >> Hi, >> >> I just want to customize the labels username, password and password_again >> >> so far i created the module user >> >> php symfony propel:generate-module frontend user sfGuardUser >> >> but how do i proceed to cutomize the label if the lib/form class do not >> existe. >> >> >> Thank you >> >> celso >> >> >> > > > -- > As programmers create bigger & better idiot proof programs, so the universe > creates bigger & better idiots! > I am on web: http://www.alecslupu.ro/ > I am on twitter: http://twitter.com/alecslupu > I am on linkedIn: http://www.linkedin.com/in/alecslupu > Tel: (+4)0748.543.798 > > > > > > -- Alexandre Salomé -- alexandre.sal...@gmail.com --~--~---------~--~----~------------~-------~--~----~ 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---