I'm probably doing something wrong on my end.

Setup: Created mini-panel with two panes, each custom info.
Problem: When I select the display of tabs in mini panel and preview it, I get a white screen. Any other display and it works (but no tabs of course)
Goal: tabbed mini-panels like http://wimleers.com/demo/mini-panels#tabs-mini-panel-demo_tabs-demo_tabs-2
Background: I'm using 5.x-2.0-beta5 and Views 5.x-1.6.
Troubleshooting: I followed the README. I've switched to Garland.
More info: I've exported my view below:
==============

$mini = new stdClass();
$mini->pid = 'new';
$mini->name = 'tabst';
$mini->title = 'tabst';
$mini->requiredcontexts = array();
$mini->contexts = array();
$mini->relationships = array();
$display = new panels_display();
$display->did = 'new';
$display->name = NULL;
$display->layout = 'onecol';
$display->layout_settings = NULL;
$display->panel_settings = array (
'style' => 'tabs',
'style_settings' =>
array (
),
'edit_style' => 'Edit style settings',
'individual' => 0,
'panel' =>
array (
'middle' =>
array (
'style' => '',
'edit_style' => 'Edit style settings',
),
),
'did' => '46',
);
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-1';
$pane->panel = 'middle';
$pane->type = 'custom';
$pane->subtype = 'custom';
$pane->access = array();
$pane->configuration = array (
'override_title' => 0,
'override_title_text' => '',
'css_id' => '',
'css_class' => '',
'title' => 'Test',
'body' => 'asdfasdfasdfasdfasdfasdf',
'format' => '1',
);
$pane->shown = '1';
$pane->visibility = '';
$display->content['new-1'] = $pane;
$display->panels['middle'][0] = 'new-1';
$pane = new stdClass();
$pane->pid = 'new-2';
$pane->panel = 'middle';
$pane->type = 'custom';
$pane->subtype = 'custom';
$pane->access = array();
$pane->configuration = array (
'override_title' => 0,
'override_title_text' => '',
'css_id' => '',
'css_class' => '',
'title' => 'aaaaaaa',
'body' => 'bbbbbbb',
'format' => '1',
);
$pane->shown = '1';
$pane->visibility = '';
$display->content['new-2'] = $pane;
$display->panels['middle'][1] = 'new-2';
$mini->display = $display;

Comments

light-blue’s picture

Status: Active » Closed (fixed)

I fixed this. I uninstalled JQuery tools and reinstalled. Works great. Thanks!!

steveoliver’s picture

I've disabled and re-enabled all jstools and tabs modules, and still no Tabs for me... I see the settings, but when I use them, I get no tabs... yes, rounded corners, default style, list... those all work. But no tabs!

ygg’s picture

I too am having the same issue as steveoliver I reinstalled and still no go. I will have to admit I noticed the issue after in installed jQuery Update. Maybe that is the problem?

ygg’s picture

Ok I know for a fact now that this does end up happening when you update to jQuery 1.2 using jQuery update. I just did that on another site and lost my tabs. I now have to revert back to jQuery 1.1 for everything. Can this be fixed in this module to work with jQuery 1.2?

steveoliver’s picture

Here's what I did:

  1. copied misc/jquery.js from drupal-5.10.tar.gz to misc/jquery-1.6.js in my drupal multisite installation
  2. added the following rewrite to my .htaccess for the sites that needed to use the old jquery:

      # Jquery 1.6 for some sites
      RewriteCond %{HTTP_HOST} firstsite.com$ [NC,OR]
      RewriteCond %{HTTP_HOST} secondsite.com$ [NC]
      RewriteRule ^misc/jquery.js$ misc/jquery-1.6.js [L,QSA]
    

Now tabs work on those sites.

-Steve

dropchew’s picture

As I only wanted the tab on my frontpage, is there anyway to write a rule so that the the javasipt only loads in a page but not others in the same site?