I would like to use something like this:

$tabs['first'] = array(
  'title' => 'My First Tabpage',
  'weight' => '-10',
  'type' => 'view',
  'display' => 'page_1',
  'args' => array($node->nid),
);

$tabs['second'] = array(
  'title' => 'My Second Tabpage',
  'weight' => '-9',
  'type' => 'block',
  'bvid' => 'user_delta_2',
  'hide_title' => TRUE,
);

quicktabs_render($tabs);

as I see, the only required change to achieve this functionality is to move most of the code from quicktabs_block() (case 'view') into a new function quicktabs_render().

Comments

pasqualle’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Active » Fixed

this is now included in 6.x-2.x with http://drupal.org/cvs?commit=156221

Status: Fixed » Closed (fixed)

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