How can i insert quick tab inside node?

Comments

pasqualle’s picture

http://drupal.org/node/679148
It is for D6, but D7 is quite similar..

nelslynn’s picture

Can anyone offer any more hints on how to output quicktabs in a node using Drupal7?

With Drupal6:

$tabs['first'] = array(
'title' => t('Tab One'),
'type' => 'freetext',
'text' => 'Tab One Content goes here'
);
$tabs['second'] = array(
'title' => t('Tab Two'),
'type' => 'freetext',
'text' => 'Tab Two Content goes here'
);
$quicktabs['qtid'] = 'product';
$quicktabs['tabs'] = $tabs;
$quicktabs['style'] = 'Basic';
$quicktabs['ajax'] = FALSE;
print theme('quicktabs', $quicktabs);

What specifically is different with the Drupal7 version?

Thanks

netw3rker’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)