Just a small usability improvement:
The Delegation field-group is printed below Submit/Delete buttons. I think there should be no form elements below them, so I added a weight of 0 to the field-set:
$form['taxonomy_delegate'] = array(
'#type' => 'fieldset',
'#title' => t('Delegation'),
'#description' => t('Use this section to delegate authority to maintain this vocabulary to a specific role.'),
'#collapsible' => true,
'#collapsed' => false,
'#weight' => 0,
);With that change the fieldset is printed directly below the Vocabulary name field.
I think it would be better to have it just above the Submit/Delete buttons, but already a weight of 1 puts it below. So I guess the weight of the Submit/Delete buttons has to be overwritten, but I don't know how to achive that.
Comments
Comment #1
nancydruHmm, it doesn't do this for me. Which theme are you using? Which Drupal release? Do you have any other modules that are adding form elements to the vocabulary?
Comment #2
nancydruAhh, it is I who has the spoiler here. I have the Meta Tags module and it moves the buttons.
I am adding weight of 1 (because 0 puts the fieldset between the name and description on my site. And I am moving the buttons down.
There is a bit more flexibility in 6.x, but I will still leave it at the bottom.
For the moment, the fix will be in the -dev release for both branches.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.