Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Content

As discussed in Chapter 1, each piece of content in Drupal, from a static page to a blog entry or a poll, is called a node. Drupal comes with two content types by default: “Basic page,” intended for static content such as an About Us page, and “Article,” intended for time-sensitive content such as press releases. But, like most things in Drupal, content types are fully configurable. Figure 2-5 shows the “Create content” page on a typical Drupal site with several content types available. This page is found under “Add content” (node/add) in either the Navigation block or the default Shortcut menu.

A list of available content types

Figure 2-5. A list of available content types

Figure 2-6 shows an example of a typical node form, which is used to add or edit a piece of content. Each node has a Title field, which identifies the node in content listings and controls the title of the web page when viewed, and most nodes also have a Body field, which holds its primary content. Additional fields of varying types—for example, text, numeric, or file upload fields—may also be added to a basic node form for more granular data entry. The next chapter covers extending the fields on the node form in depth.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial