Closed (won't fix)
Project:
Formfilter
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2007 at 01:48 UTC
Updated:
2 Mar 2012 at 18:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
dkruglyak commentedThis bug is all about groups, so filing under fieldgroup.module
Comment #2
dkruglyak commentedOK, the above issue results from turning on formfilter's nodeform simplification option.
The reason is that CCK generates a dummy form in Formfilter mangles CCK's "Manage fields" screen.
Possible fix would be to simplify node form only if a path condition holds (like in block visibility).
Comment #3
nedjoYes. I'd welcome a patch. I believe CCK head now includes a property that's added to the node to indicate it's being loaded as a dummy form. Until that reaches stable, we could test for
arg(0) != 'admin'.Comment #4
nedjoDraft patch, untested.
Comment #5
druvision commentedNo, it didn't work.
But here is another temporary patch which I've tested to work.
Amnon
-
Professional: Drupal Israel | Drupal Development & Consulting | Effective Hosting Strategies | בניית אתרים
Personal: Hitech Dolphin: Regain Simple Joy :)
Comment #6
druvision commentedIt's not only group fields. This patch also fixes the state where imagefields disappear.
Comment #7
nedjoThanks for the patch.
The cck_dummy_node_form property is now in CCK's stable release, so we should use it. See the comment in my patch, above.
Could you please give more details about this additional issue? On which form or forms does it appear? Thanks.
Comment #8
MartysMind commentedThis is still an issue in the release branch 5.x-1.0. The above patch works, can we apply this so we can use CCK? Has this been applied to Dev?
Comment #9
momper commentedsubscribe
Comment #10
reubenavery commentedI was seeing that the $form parameter for formfilter_form_alter has a cck_dummy_node_form set by the CCK manage fields admin screen as $form['#node']->cck_dummy_node_form (true).. seems like this would be a better pattern than checking only if arg(0)==admin ..
Comment #11
pianomansam commentedCleaning up old issues. D5 release is no longer supported.