Access Keys:
Skip to content (Access Key - 0)

Working With Content Types in Drupal

Return to Drupal Cloud Landing Page

On this page:

What is a Content Type?

Websites contain many different types of information. Each individual set of information is called a node. Sometimes a node is a full page and sometimes it's content which may be placed in a block, e.g., a blog entry. A Content Type is a set of fields for a particular type of data. For example, the simplest content type is a Basic page. A Basic page has two fields - a field for the Title and second field for the Body into which the content is placed. The title and body fields display information to the user.

In addition to the fields, certain settings are also associated with a content type, like publishing options, page comment options and options for which menu will display this content type. You can add new content types to meet your needs. For example, suppose you were planning a meeting or conference for which people had to register. You would need to collect certain basic data about each attendee. To do so, you might create a content type with fields to capture, store and display contact information, payment information, session information, housing information, etc.

Drupal Cloud comes with several content types which are explained in the next section. Any content type may be edited by adding, deleting or modifying fields or options.

Default Content Types

There are seven basic content types available to use. Each content type has a different set of fields for storing and displaying information.

Content Type Description
Basic page Use basic pages for your static content, such as an 'About us' page.
Biblio Use Biblio for scholarly content, such as journal papers and books.
Blog Use to create a blog entry.
Feed Use to subscribe to RSS or Atom feeds. Creates nodes of the content type "Feed item" from feed content.
Feed item This content type is being used for automatically aggregating content from feeds.
News Use to create or reference relevant news stories here.
Webform Use to create a new form accessible to users. Submission results and statistics are recorded.

Creating a New Content Type

  1. From the Admin menu click Structure, then choose Content types.

    create new content type

  2. Click Add content type.

    choose new content type

  3. Add a name and description (optional) and set any options for this content type.

    add name and description

  4. Click Save and add fields.
  5. Add new fields you will need to the list of existing fields and click Save.

    add fields

For complete information about Creating Content Types watch section 9, Extending Content in the LinkedIn Learning video Drupal 7 Essential Training. Here are Video chapters you will find useful.

  • Adding fields to content types
  • Exploring field types and options
  • Adjusting field display.

Assigning Permissions for the New Content Type

When you create a new content type you will need to specify who can use it by setting permissions.

  1. From the Admin menu click People then click Permissions.

    add permissions

  2. Scroll to the Nodes section and locate the rows for the content type.
  3. Check the boxes for the new content type’s rows to add permissions. The Content Manager role is assigned permissions by default.

    add permissions

  4. Click Save permissions.
    WARNING: Do not assign permissions for content creation and editing to ANONYMOUS USER.

For more information on permissions, see the KB article Assigning Roles and Permissions.

Editing a Content Type

  1. From the Admin menu click Structure, then choose Content types.
  2. Click Edit for the content type you wish to edit.

    click edit

  3. On the Edit tab, make changes to the name, description or options for this content type.

    make edits

  4. Additional tabs allow you to add or edit fields, change display options and content options.
  5. Click Save content type.

Return to Drupal Cloud Landing Page

IS&T Contributions

Documentation and information provided by IS&T staff members


Last Modified:

August 01, 2019

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
drupal drupal Delete
c-drupal-cloud c-drupal-cloud Delete
content content Delete
type type Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki