Hey,

Great module, but I'm trying to put quicktabs in for a bunch of content types with different views. If a block returns no nodes, the quicktab (when clicked) will show an empty box. If the block returns no nodes, is there a way to hide the tab from appearing altogether? I don't mind hacking the module to make this happen if you could point me to where it is...

Thanks!

Comments

pasqualle’s picture

Status: Active » Postponed (maintainer needs more info)

This does not even work in 6.x-2.x. similar issue: #292150: Hide empty tabs

in 5.x-1.4 you need to hack the quicktabs_block() function to get this feature.

this line displays the tabs:

$output .= theme('quicktabs_tabs', $tabtitles);

and this line displays the view:

$output .= views_build_view($viewbuild, $view, $args, false, $tab['limit']); 

if you are familiar with Drupal development you can make this work..

pasqualle’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

The issue is without response and there is a feature request for this already. Closing..

Feel free to reopen it if you have any further questions about the issue.