Posted by Equinger on December 15, 2010 at 10:40pm
1 follower
| 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
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.
#2
sorry, that patch is backwards. this should be correct.