Collapsible fieldset not working

johnmunro - April 8, 2009 - 08:08
Project:Imagefield Crop
Version:6.x-1.0-beta3
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Imagefield_crop seems to make some excellent functionality available for node editing in the form of a collapsible editing/widget area.

The settings are clearly there (see screenshot 1) but definitely not working (see shot 2)

Inserting the following code to imagefield_crop_widget.inc at line 130 produces the collapsibility of each cropping widget individually:

  $element['#type'] = 'fieldset';
  $element['#title'] = t('Image');

Even though this is better (?) I suspect the desired functionality would be to collapse the whole field. Would this not require changes to the filefield module?

As a side note I do notice that drupal.org has collapsible file uploads in this entry form but I am not sure if drupal.org is using cck & filefield though.

Without Imagefield_crop, filefield seems to have no collapsible settings or behaviour.

Is this a fixable bug from within this module?

AttachmentSize
Screenshot1.jpg139.37 KB
Screenshot2.jpg107.15 KB

#1

johnmunro - April 13, 2009 - 04:23

I should clarify that the code above was added to the April 7, 2009 6.x-1.x-dev code.

 
 

Drupal is a registered trademark of Dries Buytaert.