A strange problem crops up when using the Vertical Tabs module http://drupal.org/project/vertical_tabs

While creating a support ticket, "null" shows up in as the fieldset title in it's vertical tab. I'm not sure how to best describe this, so I've included two screenshots showing the tab and its contents.

Comments

jeremy’s picture

I do not see any screenshots?

That said, I see this module (Vertical Tabs) was merged into core in Drupal 7, so I would like to see the support module be compatible with this module.

mikebell_’s picture

Cause: fieldset needs #title setting.

downtap’s picture

At Line 1787 in support.module you'll see:

    $form['support'] = array(
      '#type' => 'fieldset',
      '#prefix' => '<div class="container-inline">',
      '#suffix' => '</div>',
    );

Add:

      '#title' => t('Ticket properties'),

So it looks like:

    $form['support'] = array(
      '#type' => 'fieldset',
      '#prefix' => '<div class="container-inline">',
      '#suffix' => '</div>',
      '#title' => t('Ticket properties'),
    );

Change the text Ticket properties to whatever you want for that tab.

bProphet’s picture

This worked for me - I think it should close this issue.
Thank you downtap for this fix, and to the devs for a very nicely done module!

jeremy’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.