Download & Extend

Vertical Tabs breaks some content types

Project:Vertical Tabs
Version:6.x-1.0-beta5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I've been using Vertical Tabs for a while, no issues with it and a great tool. i tried to update from beta4 to beta5 and some (all? not sure really) of my content types that include CCK fields seem to trash the JS such that not only do I not get the vertical tabs but I also lose WYSIWYG editing (and I suspect any other JS-related functionality). No dblog errors, no apache errors, no apparent browser errors (tried both firefox and seamonkey) More standard content types not using CCK fields appear to work perfectly. I haven't even attempted to narrow down which CCK fields cause the problem (I have a lot of them).

Downgrading to beta4 fixed the problem immediately (I didn't even attempt to undo the upgrade queries). Happy to help troubleshoot this issue but would love some direction if possible ... the obvious one-type at a time approach (unless I got lucky) would take a very long time.

Comments

#1

Status:active» postponed (maintainer needs more info)

1. What CCK fields are you using?
2. Can you check your site's JavaScript console for error messages?

This is probably the regression in #444378: Fields re-ordered by CCK do not have the right weight in Vertical Tabs or #421318: WYSIWYG Editor disappears on fields within Vertical Tabs.

#2

The least complex one has a few text fields configured in various ways (single and multi-value), a phone field and a few "standard groups". This doesn't provide the vertical tabs but I DO have a TinyMCE editor in view. It is gone from one that uses multi-select texts, autocomplete fields, data popups and more.

#3

Hi Dave,
Well, I have almost the same issue.

It seems that Vertical Tabs breaks Javascript, only when submitting a new node.
It works well on the content types setup.

My installation :
- Drupal 6.14, Javascript aggregation disabled, Administration menu, JQuery update, Wysiwyg, CCK

Here are the cases I tested :

- Vertical Tabs Disabled : everything works fine
- Vertical Tabs enabled, configure content types : Administration menu is displayed, Vertical tabs ok, Wysiwyg ok.
- Vertical Tabs enabled, add new content, CCK in the content type : No administration menu,

Edit : There is a JS error in Vertical tabs, in vertical_tabs.js, lines 73 and 76. This is what breaks the javascript. I don't know what to do however.

#4

I'm seeing this too on all content types. Vertical Tabs does kick in when I assign the content to a book. I don't actually update the data, just select a book.

#5

#6

Please try using the latest code (6.x-1.x-dev).

#7

I haven't tried the dev code but I did find that removing multi-step from the content type having the trouble with Vertical Tabs seems to have corrected it ... not much testing right now, it could just be coincidence.

#8

Status:postponed (maintainer needs more info)» fixed

This might be the root problem then: #503290: Vertical tabs fieldset configuration breaks horribly for multi-step node forms. Please re-open if it's not.

#9

Thanks, that did fix things as you expected.

FYI: Installation of Form Controller broke PathAuto, see #652632: Conflict with pathauto if you are interested (I only knew about Form Controller because of Vertical Tabs so perhaps other folks will have a similar problem).

#10

Status:fixed» closed (fixed)

#11

It is possible that you could be running into this issue as well: http://drupal.org/node/801112

#12

An update: this is not specifically a VT issue, but is due to an errant module altering the number formatting on the site.

The module here (http://drupal.org/node/801112#comment-3835900) attempts to fix this (and does in my cases) by resetting the locale LC_NUMERIC format in several places.

#13

Hi!artscoop,

I have the same problems. vertical tab breaks only when adding new node. it works fine on content type set up. tried many thing .it still does not work. how did you fix it ?