Posted by jcmarco on August 27, 2009 at 8:26am
| 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.
| Attachment | Size |
|---|---|
| cck_fieldgroup_residual_weights.patch | 864 bytes |
Comments
#1
Patch file wrong,
updating
#2
Thanks! Applied with a minor tweak (unset only the relevant key in $node->content['#pre_render']).
#3
Automatically closed -- issue fixed for 2 weeks with no activity.