[symfony-users] Re: sfDoctrineGuardPlugin: automatically add new user to a group

2009-05-26 Thread FlyLM [ML]
2009/5/25 Campezzi campe...@gmail.com: Hi Fabien, Thanks for the answer. Since the group was supposed to be added automatically, I had the groups_list widget unset in my form. The function you pointed me to seems to take what was stored in that variable and link the values to the user

[symfony-users] Re: sfDoctrineGuardPlugin: automatically add new user to a group

2009-05-26 Thread Campezzi
Thanks Fabien, that's exactly what I wanted! I just didn't know exactly which method to override. I'm still finding my way around symfony ;) Cheers! Best Regards, Campezzi On May 26, 6:09 am, FlyLM [ML] flylm...@gmail.com wrote: 2009/5/25 Campezzi campe...@gmail.com: Hi Fabien,

[symfony-users] Re: sfDoctrineGuardPlugin: automatically add new user to a group

2009-05-25 Thread FlyLM [ML]
Hi, If you have always sfDoctrineGuardPlugin installed, take a look at this file line 84 (savegroupsList method) /lib/form/doctrine/sfDoctrineGuardPlugin/base/BasesGuardUserForm.class.php = $this-object-link('groups', array_values($link)); Fabien 2009/5/25 Campezzi campe...@gmail.com: Hi

[symfony-users] Re: sfDoctrineGuardPlugin: automatically add new user to a group

2009-05-25 Thread Campezzi
Hi Fabien, Thanks for the answer. Since the group was supposed to be added automatically, I had the groups_list widget unset in my form. The function you pointed me to seems to take what was stored in that variable and link the values to the user being registered. I assume I can get this working