Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there,
Quick Tabs doesn't respect the default tab on a multi-language site. When I switch to French, Quick Tabs ignores the default tab. It's working fine in my primary source language. Is it a bug or did I miss something. Here's my Quicktabs Instance
$quicktabs = new stdClass();
$quicktabs->disabled = FALSE; /* Edit this to true to make a default quicktabs disabled initially */
$quicktabs->api_version = 1;
$quicktabs->machine_name = 'sidebar_tabs_service';
$quicktabs->ajax = 0;
$quicktabs->hide_empty_tabs = FALSE;
$quicktabs->default_tab = 1;
$quicktabs->title = 'Sidebar Tabs Service';
$quicktabs->tabs = array(
0 => array(
'bid' => 'views_delta_product-block_2',
'hide_title' => 1,
'title' => 'Tab1',
'weight' => '-100',
'type' => 'block',
),
1 => array(
'bid' => 'views_delta_service-block_2',
'hide_title' => 1,
'title' => 'Tab1',
'weight' => '-99',
'type' => 'block',
),
);
$quicktabs->renderer = 'quicktabs';
$quicktabs->style = 'nostyle';
$quicktabs->options = array();
Comments
Comment #2
howdytom CreditAttribution: howdytom as a volunteer commentedSorry, it turned out that I mixed up the block visibility settings. I had to exclude the corresponding language pages and voilà quick tab shows the default tab.
Comment #3
howdytom CreditAttribution: howdytom as a volunteer commented