Hello,

I noticed that the imagefield_zip field can't be placed/nested in a CCK fieldgroup -> if I place an imagefield "images" in a fieldgroup, the appended imagefield_zip field is outside (beneath) this fieldgroup.
It also does not respect conditional fields settings -> when I hide the field "images", the imagefield_zip field is still visible while "images" is hidden. I think this issues are related.

Does anybody know how this can be fixed?

Thank you!
Stefan

Comments

mikeytown2’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
davidwhthomas’s picture

Yes, would be nice if the zip upload could be wrapped inline with the imagefield form widget.

For CCK fieldgroup tabs, it means the zip upload stays on the default tab while the imagefield may be on another tab.

Same issue as above, if it could be added to the fieldgroup, would be all good.

Interested in a patch and thanks for the great module!

v-a-1’s picture

I agree. This feature would be really great.

design.er’s picture

Any news?

davidwhthomas’s picture

I used some javascript to jiggle the UI for this.

I first needed to theme the imagefield_zip fieldset to add a class 'imagefield-zip'.
The example uses a 'field_images' cck field and went in script.js.

$(document).ready(function(){
  if( typeof $('fieldset.imagefield-zip') !== 'undefined'){
    /* Move imagefield zip to fieldgroup */
    $('div#field_images-ahah-wrapper').append($('fieldset.imagefield-zip'));
  }
});

Still needs work, but might help someone here with an approach.

DT

mikeytown2’s picture

Status: Active » Fixed

Fixed without JS. checkout the latest dev from 2011. #1281916: Emulate CCK/Filefield better

Status: Fixed » Closed (fixed)

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