Currently it's not possible to map feed elements into CCK fields that are grouped together within a CCK field group. Moving the fields outside of the group allow them to be accessed and have content mapped into them, but it would be good if we could retain the structure of CCK fields on the target node type.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | grouped_cck.patch | 1.22 KB | aron novak |
Comments
Comment #1
Arto commentedSubscribing.
Comment #2
loze commentedsubscribing
Comment #3
karens commentedCheck if module_exists('fieldgroup') and if so use the fieldgroup_groups() function to find the groups and grouped fields for the content type, then adjust the places you get the field info based on that knowledge (you'd be looking for $node->group_name[$field_name] instead of $node->$field_name). That keeps the node intact, which is safer than trying to move things around.
I don't have time to write a patch, but I think that's the best approach to use.
Comment #4
mchelenUntil this feature is added maybe it should be mentioned, since someone can be confused why their CCK fields are not showing up.
Comment #5
panji commentedwaiting..
Comment #6
aron novakThis patch simply dig into the whole feed form to collect grouped CCK fields as well. Please test it.
Comment #7
geodaniel commentedThis patch does the job, thanks Aron.
Comment #8
alex_b commentedCommitted to DRUPAL-6--1 branch. Thanks everybody.
Comment #9
alex_b commentedRolled out in beta 4