Vertical tabs are shown after the submission buttons in third-party modules
kiamlaluno - October 25, 2009 - 21:49
| Project: | Vertical Tabs |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I added the support for Vertical Tabs to Nodewords, and the fieldsets are rendered with a weight lower than the weight of the submission buttons (see the attachment).
| Attachment | Size |
|---|---|
| Voila_Capture_42.png | 82.24 KB |

#1
It's a matter of weight. Buttons by default with system_settings_form have no weight, so any additions in hook_form_alter() that also have no weight will be placed below the buttons. You should add the following in your own module's code:
$form = system_settings_form($form);$form['buttons'] += array('#weight' => 100);
#2
This is a duplicate of #626200: Fieldsets rendered by Vertical tabs are shown under the submission buttons, which was open by me.
I apologize for the duplicate report, and I thank you for your support on understanding the issue I was having.