Closed (outdated)
Project:
Quick Tabs
Version:
7.x-3.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2015 at 00:27 UTC
Updated:
16 Dec 2024 at 17:34 UTC
Jump to comment: Most recent
I create programmatically Quicktabs on page and i have different types of quicktabs (view, block and other).
If i add to them another tab with HTML text, it start to be the default tab on page, whatever you want.
At any position and with any weight settings.
$settings = array(
'ajax' => 1,
'hide_if_empty' => 1,
'default_tab' => 0,
'title' => 'cfp',
'rendered' => 'quicktabs',
'style' => 'Zen',
);
$custom_tabs[] = array(
'vid' => 'some_view',
'display' => 'default',
'args' => $node->nid,
'title' => 'Updates',
'weight' => -3,
'type' => 'view'
);
$custom_tabs[] = array(
'title' => 'Timeline',
'weight' => -4,
'contents' => 'any text',
);
$out .= drupal_render(quicktabs_build_quicktabs('cfp', $settings, $custom_tabs));
Does anybody know, how to solve it?
Comments
Comment #1
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.
If still an issue or needed for 4.0.x (latest branch) feel free to reopen