How-To Content Type

Author: Liz Vines

Content Types permit the creation of a set of fields that are associated together in some meaningful way.

Content Types are the building blocks for structured authoring in Drupal. Content types often work in conjunction with Views, which is one way you can serve up content to your end users; you can control the content types that appear and the order in which they appear. Developers can also customize the authoring experience in the same way.

One way to think of content types is to visualize the contacts on your mobile phone. If you were to duplicate this on a Drupal site you would create a Content Type. You would name your new Content Type (e.g. Contacts), define the information that you wanted to store about each contact (called Fields in Drupal), and then add those Fields (e.g. First name, last name, and mobile phone number, etc.) to that Content Type. You would then use this "Contacts" Content Type to enter the information for each of the contacts you had in your contacts list. You would use a View (as described above) to display your Contacts in a list similar to that which you see on your mobile phone.

Related Topics: