Last updated 12 June 2012. Created on 13 May 2012.
Edited by kwseldman, Itangalo. Log in to edit this page.

In the administration toolbar – the black list at the top of the page in a standard Drupal installation – there is an item called Structure. It leads to a page with some of the most interesting settings when building a Drupal site – such as Content Types. Clicking this link leads to an overview of all node types available on the website, along with links to manage each content type. Above the list, there is also a link to create new content types. (See figure 1.7)

Figure 1.7: The administration link structure: content types in the administration toolbar provide an overview of all node types on your website.

The links named Manage Fields and Manage Display are so interesting that they have their very own chapters, and are not discussed further here. (See Chapter 6 on fields and view modes, and Chapter 8 on field display.) You won't be surprised to learn that the delete link is used to delete the node type. The edit link is used to set the most basic properties for a node type (see figure 1.8). These properties are:

  • Name: This is the name of the node type. Based on its plain-text name, Drupal suggests a machine name which is used to identify the node type in Drupal's database.
  • Description: This text is shown in some lists of node types, such as the list provided when you click add content.
  • Submission form settings: This gives you the opportunity to change the label used for the title of the node type – for example, if you have a node type for contacts, setting the label to 'name' makes more sense than 'title'. There are also options for changing the node preview settings, and for providing the node form with help text.
  • Publishing options: This is used to change the default settings for the nodes' publishing states. This includes the option to create new revisions by default when editing content. Changing these settings will not affect any existing nodes (with the exception of revisioning, which is returned to default every time a node is edited).
  • Display settings: This gives you the opportunity to show or hide information about who created the node and when.
  • Comment settings: This allows a number of settings for comments, such as whether or not commenting is allowed by default, and whether comments are listed as a straight list or in a tree structure.
  • Menu settings: These options dictate which menus should be able to link to nodes of this type, and whether nodes should be placed under a particular menu item by default. More details about menus can be found in Chapter 4.

More modules – plugins – may provide new options on the page for editing node-type settings.

Figure 1.8: It is possible to set a number of default settings per content type, such as node revisioning.

01.7 Content types.png40.11 KB
01.8 Article edit.png99.93 KB

Looking for support? Visit the forums, or join #drupal-support in IRC.