Download & Extend

Vertical tabs are shown after the submission buttons in third-party modules

Project:Vertical Tabs
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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).

AttachmentSize
Voila_Capture_42.png82.24 KB

Comments

#1

Status:active» closed (works as designed)

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

Status:closed (works as designed)» closed (duplicate)

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.

nobody click here