I'm trying to create a content admin page using QT with three tabs. The first two display views, and they work just fine. For the third one, I want to display a menu block, but it won't display. I've tried displaying other blocks such as Login and Primary Links, and they won't display either. If I make the menu block the first tab, it displays the empty text from one of the views.

Comments

jerardk’s picture

Hi, I don't know much about QT nor do I use, but mabey this small suggestion will work. Try making a tab to a "page" content type and configure your menu block to be shown on that page rather than try to directly show the menu block. Configure your menu block to be shown in the content section of the page. I hope this helps. Best wishes.

mikeaja’s picture

Version: 6.x-2.0-rc3 » 6.x-2.0-rc5

I guess this is the same issue I'm having. My node (tab view set to display node) does not display the associated block.

Just to be clear with this, if I have a tab page at node/10, and I set any block to display in 'content', it will display as expected below tab display.

But if one of my tab pages is set to node, lets say node/20, the associated block set to display in 'content' won't display.

As I'm writing this I guess I can see the issue - the whole content area I guess is taken up with quicktabs. I will experiment with block in a different location.

EDIT: ok, so the location of the block made no difference. It doesn't display.

mikeaja’s picture

Status: Active » Postponed

Sorry to reply to my own post, but I guess what I was expecting was silly. Of course, QT is a block, so display blocks inside blocks is unlikely to happen.

I solved my problem by using Panels, and in particular Panel Node. This enabled the display of a node, and a referenced node. This actually makes more sense that using blocks anyway.

AndrewJarvis’s picture

Yes, this has been a snag for me as well. I need to display 4 blocks on one tab, so my solution was to create a node and assign all 4 blocks to it, and make that node a tab. But when the node displays in the tab it's empty.

Is this simply a limit of its functionality?

Cyberflyer’s picture

Version: 6.x-2.0-rc5 » 6.x-3.1
Status: Postponed » Active

I am running Quick Tabs 6.x-3-1 on Drupal 6.26.

I configured a region at the top of content for a main page tab block.

I modified template.php with code to include the region as a variable:

function sas_1_right_preprocess_node(&$vars, $hook) {
  xdebug_break();
  $vars['front_page_tabs'] = theme('blocks', 'front_page_tabs');
}

I modified node.tpl.php to print out the contents of the variable:

<div class="content">
<!-- print $frontpagetabs; -->
<div class="front-page-tabs" id="from-node-tpl"><?php print $front_page_tabs; ?></div>
<?php print $content; ?>
</div>
<?php if (!$

I created some test blocks and loaded them into a QT block and assigned it to the region in blocks.

So far, so good. Everything worked as expected in Chrome (latest for Mac OS X 10.6). The tabs tabbed and block content was displayed accordingly.

However when I tested on Safari (latest) and FireFox (12.0), the block content was NOT displayed and no amount of jiggering would cause it to.

I retrenched and created a QT block using display Nodes, set them to display just the teaser and made sure I had teasers in the target nodes.

In that configuration, everything works (well text and pictures in the teaser, have not tested Maps and embedded video) as expected and I have elected to proceed to manage content to use this configuration. It works for my site.

One complication may be that I run Collappsiblock. I set the target blocks to NOT collapse under any conditions, but the content did not show at all.

I suspect that Collapsiblock is adding an extra layer of divs which is breaking the display code on QuickTabs. The two teams will have to confirm that.

Have changed the version and status to bump this up.

netw3rker’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)