Download & Extend

No respecting core fields weights with fieldgroup tab formatters

Project:CCK Fieldgroup Tabs
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

If you select the option to show all the residual fields in a tab, the ones that are not part of any fieldgroup tab, then when showing the node, you get that core fields and cck fields are not ordered as you have set up for that content type, (in fact only cck fields are ordered but without the core fields).

This patch moves the rest of fields (#content_extra_fields) that haven't been moved into the residual tab (originally only cck fields), and also set the #pre_render of this extra_fields in order to allow that tabs rendered them correctly.

With this patch is possible to show any node with a full tab layout, in the same way and order that you get when no using any tab.

AttachmentSize
cck_fieldgroup_residual_weights.patch864 bytes

Comments

#1

Patch file wrong,
updating

AttachmentSize
cck_fieldgroup_residual_weights.patch 871 bytes

#2

Status:needs review» fixed

Thanks! Applied with a minor tweak (unset only the relevant key in $node->content['#pre_render']).

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here