Many drupal sites use CCK to create complex content types.
CCK allows administrators to control the order that fields are presented in the node-edit form:
e.g. title, body, field_foo....vs title, field_foo, body...etc.
CCK provides this feature at /admin/content/node-type/CONTENT_TYPE/fields
Other modules (which introduce form elements to the node-edit form) can integrate with this feature by implementing hook_content_extra_fields. This patch adds the hook to nodewords module, allowing administrators to control the position of the Meta Tags fields on the node-edit form.
Patch is against 6.x-2.x-dev: ready for review
Comment | File | Size | Author |
---|---|---|---|
add_cck_hook_context_extra_field.patch | 953 bytes | manarth |
Comments
Comment #1
apadernoIs "nodewords" the array index added in the node edit form?
Comment #2
apadernoIn version 6.x-2.x-dev, I don't see any implementation of
hook_form_alter()
. I also checked revision 1.57.4, but I don't see any hook that would alter a form.Are you sure you are referring to the right version?
Comment #3
apadernoThis has been implemented in CVS for 6.x-1.x-dev. Thanks for the report, and the patch.