Currently, the flexi fields using a fieldgroup does not have their fieldgroup rendered on node view.
Actually flexifield_fieldgroup module only handles fieldgroups for edit form.
This patch adds fieldgroups rendering on node view for flexi fields.
Actually, it could be possible (and cheap regarding to performances) to do that in flexifield.module, in the function _flexifield_item_invoke_cck(). Adding one line after $f($oPseudoNode, $bTeaser, $bPage);
is suffisant :
module_invoke('fieldgroup', 'nodeapi', $oPseudoNode, 'view', $bTeaser, $bPage);
But this patch tries to be "clean", and gathers what deals with fieldgroups together. The maintainer has the final decision.
I made this patch against alpha5 version because when making a checkout against HEAD tag, I only receive 3 old files (; $Id: flexifield.info,v 1.1 2008/08/04 06:02:11 effulgentsia Exp $). Sorry for that.
Comment | File | Size | Author |
---|---|---|---|
flexifield_fieldgroup_render.patch | 1.3 KB | B-Prod |
Comments
Comment #1
_Jay CreditAttribution: _Jay commentedI know it's against alpha 5 but shouldn't this work for dev version all the same? I need the dev version but couldn't get this working with it. Any suggestions what might be the problem? Thanks.
Comment #2
B-Prod CreditAttribution: B-Prod commentedActually the patch is quite old now, and the module did change since this patch was ignored (no answer in more than 1 year).
Maybe a module maintainer will tag it as "closed (won't fix)" someday, but not even sure, the project seems abandonned.