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.

CommentFileSizeAuthor
#6 grouped_cck.patch1.22 KBaron novak

Comments

Arto’s picture

Subscribing.

loze’s picture

subscribing

karens’s picture

Check 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.

mchelen’s picture

Until this feature is added maybe it should be mentioned, since someone can be confused why their CCK fields are not showing up.

panji’s picture

waiting..

aron novak’s picture

Status: Active » Needs review
StatusFileSize
new1.22 KB

This patch simply dig into the whole feed form to collect grouped CCK fields as well. Please test it.

geodaniel’s picture

Status: Needs review » Reviewed & tested by the community

This patch does the job, thanks Aron.

alex_b’s picture

Status: Reviewed & tested by the community » Fixed

Committed to DRUPAL-6--1 branch. Thanks everybody.

alex_b’s picture

Status: Fixed » Closed (fixed)

Rolled out in beta 4