Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.5
Component:
fieldgroup.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2009 at 12:45 UTC
Updated:
18 Oct 2009 at 14:00 UTC
Comments
Comment #1
markus_petrux commentedFieldgroup module does not alter the $node object. Rather it affects the node form, and the node view output. Fieldgroup module implements hook_nodeapi(), but only for the 'view' operation.
If you want to get information about fieldgroups, you need to use fieldgroup_groups(). For example:
Comment #2
maulwuff commentedthanks for your fast reply.
I implemented hook_fieldgroup_view, to do my modifications.
What I try to do is, take all fields from the fieldgroup, pass them to the drupal form builder, and put the result back into the group.
Sounds weird, but I think it simplifies form handling on cck_inputs. Works good so far.