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 Boolean field

In this section, we will add a Tip owner field using the Boolean field type to the Cooking Tip content type. Follow these steps:

  1. Click the Structure link on the administration menu at the top of the page.
  2. Click the Content types link, and then click the Manage fields link that is on the Cooking Tip row.
    Time for action – adding a Boolean field
  3. Locate the Add new field table row, and enter "Tip owner" to the Label field, and then enter "tip_owner" into the Field name field, and select Boolean to be the type of data, and select Single on/off checkbox as the widget. And finally click the Save button at the bottom of the page to store the entered values. ...

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