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.
When I have ajax off and I click on a tab nothing happens. I can view the content of a tab if I set it as default and visit the page, but as soon as I click on a tab it disappears.
If I turn ajax on it works as expected, but then the Hide empty tabs feature doesn't work and I need to have empty tabs gone.
Comments
Comment #1
dimaboychev CreditAttribution: dimaboychev commentedCan confirm when "TAB TYPE" is "view" then you have to use ajax in order for the tab to show content.
If "TAB TYPE" is just a "block" it works fine.
Comment #2
mygumbo CreditAttribution: mygumbo commentedI also can confirm that when "TAB TYPE" is "view" then you have to use ajax in order for the tab to show content (but then empty tabs are shown).
When not using ajax, the content from the view is there in the html of the page, but it has the class quicktabs-hide. Clicking another tab does not remove the class.
Comment #3
tdurocher CreditAttribution: tdurocher commentedI have run into this or something similar and it may be a duplicate of the one I created earlier today. I'd sure call it a Critical bug and would love to have it fixed, but there may be a workaround. It seems that changing the renderer to ui_tabs instead of quicktabs allows the tabs to display Views even in Ajax mode. I don't know what other ramifications there are to ui_tabs, though. Still looking for docs on that.
Comment #4
systemick CreditAttribution: systemick as a volunteer commented