I have defined a content type with two fieldgroups. Both creation form and display are ok, as long as the fieldgroups are styled as "fieldsets". However, when I try to switch the style to "tabs" (both in Manage and Display field) the fieldgroups simply disappear from the page. I don't see any JS error. I have just installed CCK-FT, so I don't have a baseline for it. Thank you for any suggestion.

CCK Fieldgroup Tabs 5.x-1.x-dev
Javascript tools 5.x-1.1
jQuery Update 5.x-2.0 ( jQuery 1.2.6 - New Wave Javascript)

Comments

duntuk’s picture

yeah, experienced the same...

had to put (temporarily) in my css file until this is fixed or i downgrade back to jquery update 5.x-1.0 .

#tabs-fieldgroup_tabs {display:block!important;}
mattez’s picture

Category: support » bug
Priority: Normal » Critical

I'm not sure if I've got same problem (or it's somewhere else) but I have same config and similar problem with "not showing" (disappearing) tabs (with no JS error). But when I try that "CSS hack" it shows ALL groups (tabs) content, and JS not working. Is this working same for you?
Im non JS programmer, so I dont know how to debug it. :/

Is this bug of CCK Fieldgroup Tabs or Javascript tools Tab module. Can anybody confirm that?
If it is any?! Isn't it only some my (our :) installation omission (mistake)..?

Thanx for your help.

There was probably same problem in version for D6: http://drupal.org/node/255195 where is patch already.

d.sibaud’s picture

same problem,

CCK Fieldgroup Tabs 5.x-1.x-dev
Javascript tools 5.x-1.1
jQuery Update 5.x-2.0
Drupal 5.10

no showing tabs, and there's no active tab, so if I use the css trick of duntuk, all the tabs are shown.

in teh meanwhile I'll return on the previous version of JQuery Update

bye

sdsheridan’s picture

Well, I tried the alterations per the D6 patch to cck_fieldgroup_tabs.module, but to no avail. And having the tabs showing with all the field-groups then stacked on top of each other kind of defeats the purpose, so the CSS change is that that appealing either. :(

Anybody got any ideas?

nedjo’s picture

Category: bug » feature
Priority: Critical » Normal

I'd welcome a patch that improved performance with jquery update without breaking anything, but won't be working on this myself.

nedjo’s picture

Title: No Tabs showing up (jQuery 1.2.6) » Make compatible with jQuery update (issue: tabs don't show up)
sdsheridan’s picture

Alas, this is certainly beyond my capabilities. I'm not a php or js programmer. Looks like I won't be able to use this module then going forward as it is not compatible. Anyone know of any other options that could do the same sort of thing?

-enzo-’s picture

Hello duntuk

I used your css change in my style.css.

#tabs-fieldgroup_tabs {display:block!important;}

but I get the same error using jquery update, could you verify your recommendation recommendation.

Best regards

ericpugh’s picture

It must have something to with jstools, because I'm having the same the issue, and I'm not using CCK Fieldgroup tabs. (although I did install it just to try, and it didn't work either.)

I am using "views tabs" with jstools 5.x-1.1. Basically my tabbed content doesn't show at all (because of drupal-tabs has display:none;), but the html seems to be properly rendered, I don't get any JS errors, and all necessary JS files are loaded. It doesn't matter what I use to display the tabs, though. No matter what, I don't see them. Try, putting some basic tabbed content into a new page using render_tabs() to see if it has anything to do with CCK Fieldgroup tabs.

<?php
$form = array();

  $form['example1'] = array(
    '#type' => 'tabset',
  );
  $form['example1']['tab1'] = array(
    '#type' => 'tabpage',
    '#title' => t('One'),
    '#content' => t('First tab content.'),
  );
  $form['example1']['tab2'] = array(
    '#type' => 'tabpage',
    '#title' => t('Two'),
    '#content' => t('Second tab content.'),
  );
  $form['example1']['tab3'] = array(
    '#type' => 'tabpage',
    '#title' => t('Three'),
    '#content' => t('Third tab content.'),
  );

  return tabs_render($form);
?>

For me... nothing works. I created a clean install to try to recreate the problem, adding subtracting possible conflicting modules, but I'm not finding anything.

I don't think jQuery Update has anything to do with it. Anybody else found something out??
thx

ericpugh’s picture

Okay... I think I've got it fixed. Thanks to Katbailey http://drupal.org/node/156221#comment-854274
This change worked for me.

Did I ever mention I'm using D5? I know in D6 this would be total different. (the tabs module has been seperated from jstools, new code, etc.)

thanks.

eaochoac’s picture

In my case I was thinking it was a module version problem, but it was not.

I was adding all the cck content field to a single group,
you must create serveral groups, each one is a tab, and include some fields inside that groups.
The documentation is not clear.

asb’s picture

Status: Active » Fixed

I think this isse can be closed. Please reopen if the problem still persists.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.