Development

#5153 (Admin generator configuration merging)

You must first sign up to be able to contribute.

Ticket #5153 (new defect)

Opened 7 months ago

Last modified 7 months ago

Admin generator configuration merging

Reported by: peper Assigned to: fabien
Priority: minor Milestone:
Component: sfGuardPlugin Version: 1.2.0
Keywords: Cc:
Qualification: Unreviewed

Description

As far as i can see, with current way of admin configuration merging, there is no way to override the grouping of fields in forms.

default:

      form:
        class: sfGuardUserAdminForm
        display:
          "NONE":                [username, password, password_again]
          "Permissions and groups": [is_active, is_super_admin, sf_guard_user_group_list, sf_guard_user_permission_list]

If i change the labels like:

      form:
        class: sfGuardUserAdminForm
        display:
          "foo":                [username, password, password_again]
          "bar": [is_active, is_super_admin, sf_guard_user_group_list, sf_guard_user_permission_list]

I get foo and bar and also the defaults. Is it possible to disable the defaults somehow?

P.S. i18n support in this plugin would be very nice.

Change History

12/11/08 23:18:01 changed by peper

i18n is already supported, just didn't know how to use it.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.