Using the zen theme, I can see the fieldset titles for options when editing, but there is no link to open it and this make there's no way to uncollapse the fieldset. I've tried it in: FF3, Safari 2, IE7. And also with standard themes. I've read about this problem related to another modules here: http://drupal.org/node/104175 But in my case the only way i get collapsible fieldsets to work again was disabling Nice Menus module.

Comments

scottrigby’s picture

oh! I've had the same problem since installing Nice_menus on a 5.x site... I had no idea this may have been causing the problem... is this really a nice_menus issue? If so, anyone have thoughts/leads about what to do about it?
Cheers!
:) Scott

demenece’s picture

It's also causing problems with my fckeditor. Any help?

Smudio’s picture

Using atck theme, I experience the same problem. Nice menus module breaks collapsible fieldsets, e.g. the links on the "Create Content"-Pages don't expand.
Help appreciated!

demenece’s picture

Hi,
I'm using firebug and i found the following javascript error related to nice menus module:

active_mid is not defined
last_active_mid = active_mid();

near line 31 in nice_primary_menus.js:

  $(document).ready(function () {
    // get the initial active mid
    last_active_mid = active_mid();

seems this bug is causing part of the problem. I deactived Nice Primary Menus module (where nice_primary_menus.js is loaded), and now fields are not collapsed, but i can't collapse them and FCK Editor still not working. I run the Firebug again and get this:
Test for equality (==) mistyped as assignment (=)?
jQuery.fn.extend=function(){var target=a...uery.initDone=true;jQuery.each(jQuery.ma....

this is happening near line 2 of jquery.js

does anybody know how can we fix this?

add1sun’s picture

Status: Active » Postponed (maintainer needs more info)

Nice primary menus is a different module altogether. If you disable Nice primary menus but leave Nice menus enabled does it work OK?

EDIT: I don't read as thoroughly at 5:30 am. ;-) Can you try using 5.x-1.x-dev instead and see if that helps? The JS handling is different in the dev versions.

demenece’s picture

Hi add1sun, i've downloaded 5.x-1.x-dev and no luck, i'm really lost about what can be causing this, do you have some ideas? can I help you with some testing?

add1sun’s picture

I honestly have no idea what the issue could be since I can't reproduce it myself. :-/ Does it happen in any of the core themes or just Zen, etc.?

demenece’s picture

It's also happening with Garland and bluemarine. What's the active_mid() function for? Why can it has not defined status? If you run a debugger in a full working version of Nice Menus, do you get an error related to active_mid() ?

add1sun’s picture

Er, well again, active_mid() is not used in Nice menus. That is a Nice *primary* menus module js file you are looking at. That is a totally different module. I can only help troubleshoot problems that occur with Nice menus itself. If you turn off Nice primary menus, do you still get any errors?

demenece’s picture

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

Hi add1sun, thanks for your help! today i've uninstalled the nice_primary_menus, and the javascript error has dissapeared.

If someone else is having this problem, i recommend to download the DEV version of nice_menus and uninstall nice_primary_menus.
You DON'T need nice_primary_menus module to have dropdowns in primary links, please read here how to do this using just nice_menus module: http://drupal.org/node/215869#comment-771396