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
Comment #1
pasquallethis is now included in 6.x-2.x with http://drupal.org/cvs?commit=156221