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
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.
>
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();
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