O'Reilly logo

Drupal 7 Fields/CCK by Dave Poon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – adding a text field to comments

Now we will add a text field to comments. Follow these steps:

  1. Navigate to the Content types page, in the table, locate the row that contains the Cooking Tip content type, and click the manage fields link.
  2. Click the COMMENT FIELDS tab. It is positioned between the MANAGE DISPLAY and COMMENT DISPLAY tabs:
    Time for action – adding a text field to comments
  3. In the Add new field row in the table, enter "Email" for the Label field, enter "email" for the Field name field, and then select Text for the field type, the Text field widget will be automatically selected.
  4. Click the Save button.
  5. Click the Save field settings button. We leave the settings as default: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required