Closed (fixed)
Project:
Quick Tabs
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2008 at 23:07 UTC
Updated:
14 Jul 2012 at 23:32 UTC
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