Last updated January 15, 2011. Created by emmajane on May 4, 2005.
Edited by jn2, arianek, WorldFallz, jhodgdon. Log in to edit this page.
A single web site could contain many types of content, such as informational pages, news items, polls, blog posts, real estate listings, etc. In Drupal, each item of content is called a node, and each node belongs to a single content type, which defines various default settings for nodes of that type, such as whether the node is published automatically and whether comments are permitted. (Note that in previous versions of Drupal, content types were known as node types.)
When you first install Drupal with the default installation profile, you will have two content types defined: "Article" and "Basic page" (called "Story" and "Page" in Drupal 5 and 6). When you enable other core and contributed modules (by visiting Modules), you will find that you have other content types available; you can also create your own content types (see below).
Content types in Drupal 7 core
- Article
- The Article content type is enabled in Drupal in the default installation profile. Articles are generally used for information that is updated more frequently and often cross-referenced and categorized (such as news items or resources). By default, Articles are sorted with the most recent post at the top, but this can be customized with contributed modules like Views."
- Basic page
- The Basic page content type is enabled in Drupal in the default installation profile. Typically Basic pages are used for static content that can (but are not required to) be linked into the main navigation bar.
- Blog Entry
- A Blog (short for weblog) is an online journal or diary, and the core Blog module allows registered users on your site to create their own blogs. Each entry in a user blog has content type Blog Entry.
- Book Page
- Book pages are designed to be part of a collaborative book, enabled by the core Book module. An example of a collaborative book is the Drupal developer documentation. In older versions of Drupal, only nodes of content type Book Page could be added to a book, but now nodes of any content type can be part of a book.
- Comment
- Comments actually aren't nodes, so Comment is technically not a "content type". Enabled by default, the Comment module allows site visitors to add comments (typically short notes and replies to other comments) to nodes on the site.
- Forum
- A Forum node defines a topic for a forum discussion; people can reply to the topic by using comments. Forum nodes are organized into subject areas via a Taxonomy (list of categories).
- Poll
- A Poll is a question that offers the visitor a set of multiple choice responses. A poll, once created, automatically provides a simple running count of the number of votes received for each response.
You can create your own custom content types by going to Structure > Content types > Add content type. You might do this as a way to organize your content — for instance, you might have "Info" and "News flash" as two simple content types on your site, rather than just using "Article" for both.
Finally, some contributed modules define their own content types. Check the Download & Extend/Modules page of the Drupal handbook for more information on locating an appropriate module for your needs.
Content types in Drupal 5 and 6 core
As mentioned above, the default content types in Drupal 5 and 6 are Story and Page. Field management is included in Drupal 7's core content types. If you want to add custom fields to your content types in Drupal 5 or 6, install the Content Construction Kit (CCK) contributed module. Custom fields are used to store additional information beyond the Drupal defaults (title, body, authoring information, time created/updated, and publishing status); for instance, on a real estate site, a real estate listing content type might have fields for the type of property, land area, etc. Additional information on the CCK module is available from the Content Construction Kit Handbook.
Comments
"Article" vs. "Basic page"
It is poorly explained when to use "Article" and when "Basic page" (provided the user does not want to create his own content type).
Victor Porton
rename "Article" and "Basic page"
You should rename "Article" to "Dynamic page" and "Basic page" to "Static page" to more accurately reflect what it's for.
Both types are dynamic and
Both types are dynamic and both can be extended. I think "Basic page" is accurate as the type only provides the fields needed for a simply/basic page. And "Article" is a common way of describing that particular content type.