change the displayed order in edit mode
Posted: Mon Dec 28, 2009 4:46 pm
Hi,
the following is part of the fields.ini I'm working on. I want the Authentication group shown before Login group, but it doesn't work. However, when I commented the orders out for both [user_name] and [user_id], it does show authentication group first. Can somebody tell me why? Thanks a lot.
[user_name]
widget:label = "Name"
group=authentication
order = 1
filter=2
[user_id]
widget:label = "UserID"
group=login_info
order = 2
filter=1
[user_password]
widget:label = "Password"
visibility:list = hidden
visibility:browse = hidden
group=login_info
order = 3
[user_role]
widget:label = "Role"
widget:type = select
vocabulary = Role
group=authentication
order = 4
filter=3
[user_type]
widget:label = "Type"
validators:required = true
validators:required:message = "User Type is required."
widget:type = select
vocabulary = Type
group=authentication
order = 4.5
filter=4
[user_email_address]
widget:label = "Email Address"
order = 5
[fieldgroup: authentication]
label="Authentication Information"
[fieldgroup: login_info]
label="Login Information"
the following is part of the fields.ini I'm working on. I want the Authentication group shown before Login group, but it doesn't work. However, when I commented the orders out for both [user_name] and [user_id], it does show authentication group first. Can somebody tell me why? Thanks a lot.
[user_name]
widget:label = "Name"
group=authentication
order = 1
filter=2
[user_id]
widget:label = "UserID"
group=login_info
order = 2
filter=1
[user_password]
widget:label = "Password"
visibility:list = hidden
visibility:browse = hidden
group=login_info
order = 3
[user_role]
widget:label = "Role"
widget:type = select
vocabulary = Role
group=authentication
order = 4
filter=3
[user_type]
widget:label = "Type"
validators:required = true
validators:required:message = "User Type is required."
widget:type = select
vocabulary = Type
group=authentication
order = 4.5
filter=4
[user_email_address]
widget:label = "Email Address"
order = 5
[fieldgroup: authentication]
label="Authentication Information"
[fieldgroup: login_info]
label="Login Information"