This problem happens when I programmatically create a quicktabs accordion instance:
$output = drupal_render(quicktabs_build_quicktabs('myName', array('renderer' => 'accordion'), $shortcode_tabs_stack));
The accordion won't render and there will be notices of undefined indexes history and jquery_ui. After looking at the variables that are passed by a stored quicktabs instance I did this:
$settings = array(
'renderer' => 'accordion',
'options' => array (
'history' => 0,
'jquery_ui' => array(
'autoHeight' => 0,
'collapsible' => 0,
),
),
);
$output = drupal_render(quicktabs_build_quicktabs('myName', $settings, $shortcode_tabs_stack));
And the accordions work fine, but it seems redundant to add those empty arrays in my module.
Comments
Comment #1
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!
If still an issue or needed for 4.0.x (latest branch) feel free to reopen