$view->get_items('field') does not provide the correct label information for CCK fields displayed with the default widget label, which is a common views configuration. This means that the $field['id'], a machine name format, is used for these fields in all forms. The following patch pulls in the widget labels for CCK fields that use them, and displays these widget labels in the forms. The widget labels are not shown in any forms if the fields exposed use another choice of label (e.g., "None" or "Custom").

CommentFileSizeAuthor
patch.diff3.17 KBcspiker

Comments

donSchoe’s picture

Version: 6.x-1.4 » 7.x-1.x-dev
Issue summary: View changes
Status: Needs review » Needs work

Patch does not work for 7.x version.

cspiker’s picture

Assigned: cspiker » Unassigned
donSchoe’s picture

Status: Needs work » Closed (cannot reproduce)