| 54 |
======================================== |
======================================== |
| 55 |
|
|
| 56 |
Once installed, site admins can enable sorting roles by weight on the Roles configuration |
Once installed, site admins can enable sorting roles by weight on the Roles configuration |
| 57 |
(/admin/user/roles) and Access Control (/admin/user/pages/access) pages by adding a system |
(/admin/user/roles) and Access Control (/admin/user/pages/access) pages by visiting the |
| 58 |
setting to the $conf array in the site's settings.php: |
Role Weights settings page: /admin/settings/role_weights |
|
|
|
|
# Re-order user admin forms by role weight |
|
|
$conf = array( |
|
|
'role_weights_reorder_forms' => TRUE, |
|
|
); |
|
| 59 |
|
|
| 60 |
Caveat: currently this setting will override Drupal's default sorting (alphabetical). So, |
Caveat: currently this setting will override Drupal's default sorting (alphabetical). So, |
| 61 |
if this variable is set and a roles all have equal weight then the sorting will be less |
if this variable is set and a roles all have equal weight then the sorting will be less |