This should probably be fixed in themesettings_verticaltabs() and I'll raise this as an issue there but it looks like it hasn't had any changes for almost a year so I'm guessing that it's not going to be a quick fix on that end at all.

The following part of your code is the only place where you have a fieldset not in the 1st level elements of the array. The result is that themesettings_verticaltabs() hides the sub-element (as if it was an non-selected top level element) and therefore you never actually see anything the fieldset.

  $form['layout']['sidebar'] = array(
    '#type' => 'fieldset',
    '#title' => t('Sidebar layout settings'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );

Comments

andrewmacpherson’s picture

Status: Active » Closed (duplicate)

Hi, I'm the maintainer of the Themesettings Extras module which Reg mentions.

I've tested the Myo theme with teh Themesettings_verticaltabs.module enabled, and they play togother fine.

The sidebar layout fieldset appears inside a vertical tab for the layout settings. Nested fieldsets do not get their own vertical tab, and this is by design. If the maintainer of the theme wants to arrange custom theme settings in nested fieldsets, that's all well and good. Mayo's settings are sensibly arranged, so I don't think there's any need for an open issue here.

Closing this issue as a duplicate. I've given a more detailed response at the issue queue for Themesettings Extras.