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

CommentFileSizeAuthor
add_cck_hook_context_extra_field.patch953 bytesmanarth
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

apaderno’s picture

Status: Needs review » Postponed (maintainer needs more info)
  $extras['nodewords']

Is "nodewords" the array index added in the node edit form?

apaderno’s picture

In 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?

apaderno’s picture

Version: » 6.x-1.x-dev
Component: User interface » Code
Status: Postponed (maintainer needs more info) » Fixed
Issue tags: +6.x-1.0

This has been implemented in CVS for 6.x-1.x-dev. Thanks for the report, and the patch.

Status: Fixed » Closed (fixed)
Issue tags: -6.x-1.0

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