Home ›
Adding fields to a content type programatically in Drupal 7Adding fields to a content type programatically in Drupal 7
Submitted by Benjamin Melançon on April 23, 2010 - 6:38am
Searched words:
fields in 7
CCK add to node type
In the handbook: Adding and Reusing a Field.
In the API docs: http://api.drupal.org/api/function/field_create_instance/7
More like this
- White Screen of Death on Importing CCK Content Type with a Date-Time Field
- Give choice to show body field label, as for CCK field labels, on custom content types
- Deleting the last content type containing a field deletes that field also
- Fix RSS output for CCK node types so that information from all important fields are included
- Disabling or moving node/add/[content-type] links from beneath "Add content" in the navigation menu also removes them from the Add content page (node/add)


Comments
Post new comment