Download & Extend

Cannot use multigroup functionality if you want to use this module to edit individual fields

Project:Modal Frame CCK Editor
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Editing individual fields requires that the fieldgroup module be placed at a lower weight than this module. That's reasonable.

Unfortunately, to edit multigroups, you must put fieldgroup at a higher weight than this module.

As a consequence, there is a conflict if you want to edit both multigroups as well as individual fields at the same time.

Comments

#1

Status:active» needs review

The problem was that the multigroup module adds the cck fields to the form array differently than this module assumes. Attached is a patch that, I believe, fixes the problem. It's a small fix, but otherwise "modalframe_cck_editor_hide_form_element_recursive(&$element, $editable_fields)" drills down into places where it should not be.

AttachmentSize
display_multigroup.patch 939 bytes

#2

sorry, that patch is backwards. this should be correct.

AttachmentSize
display_multigroup.patch 946 bytes