[symfony-users] Re: sfDoctrineGuardPlugin - error in handling own generator.yml for sfGuardUser

2010-03-04 Thread Tom Ptacnik
Oh, but this $display array looks like this: array(4) { [0]=> string(8) "username" [1]=> string(9) "is_active" [2]=> string(11) "groups_list" [3]=> string(16) "permissions_list" } so I have to unset permissions_list by unset($display[3]); Or better find the "permissions_list" value somehow an

[symfony-users] Re: sfDoctrineGuardPlugin - error in handling own generator.yml for sfGuardUser

2010-03-04 Thread Tom Ptacnik
I already have sfGuardUserGeneratorConfiguration.class.php in my application, so adding this function to it is exactly what i needed :-) I like this solution. Thank you very much. On 4 bře, 10:14, Daniel Lohse wrote: > There is another way. It's one that does not involve these "hacky" things. >

Re: [symfony-users] Re: sfDoctrineGuardPlugin - error in handling own generator.yml for sfGuardUser

2010-03-04 Thread Daniel Lohse
There is another way. It's one that does not involve these "hacky" things. Simply copy the sfGuardUserGeneratorConfiguration.class.php to your apps/backend/modules/sfGuardUser/lib/ folder and add the following code: public function getFilterDisplay() { $display = parent::getFilterDisplay();

[symfony-users] Re: sfDoctrineGuardPlugin - error in handling own generator.yml for sfGuardUser

2010-03-04 Thread Tom Ptacnik
I found a solution, not nice, but it's simple and it works for me filter: display: [username, is_active, is_active, is_active] It somehow overwrites the array of the original generator.yml, and the is_active is showed only once. On 4 bře, 09:52, Tom Ptacnik wrote: > Hi, > > I have pr