$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").
| Comment | File | Size | Author |
|---|---|---|---|
| patch.diff | 3.17 KB | cspiker |
Comments
Comment #1
donSchoe commentedPatch does not work for 7.x version.
Comment #2
cspiker commentedComment #3
donSchoe commented