Creating Content

Creating content in Drupal is really straightforward. Once logged in, there is an option on the main menu to Create content as shown:


Create content

The Create content screen lists all of the different types of content that we can create; the list is dynamically based on the installed modules. By default we only have the Page and Story options available; however as we have installed the e-Commerce module in Chapter 1 we also have the option to add products.

Future version notice: This has been changed in e-Commerce version 4, which at time of writing is still under development; the Product node type has been replaced with a new defined node, which can have product types connected with it.

Create content

Choose the appropriate item from the list: Page

If you want to add a static page, like a contact page or an about page, use a page. Product

A product is a good or service that you wish to sell on your site.


Stories are articles in their simplest form: they have a title, a teaser and a body, but can be extended by other modules. Ttie teaser is part of the body too. Stories may be used as a personal blog or for news articles.

The figure above shows the content types available in the Create content menu. Later on in this chapter, we will look into some of the other types of content that can be created, by installing additional modules.

Pages and stories are similar in terms of the information submitted to create them; however, stories post author information and the time the story was created onto the site whereas, this is not posted with pages. If enabled under theme configuration, pages can also be made to post this information; this is just the default behavior.

We will look at creating content again in Chapter 4 when we create our product catalogue; however, let's have a brief look at it now so that we can create content.

Title and Body

The first two options when creating a Page are title and body as shown:

Submit Page


A Page Title


The content of the page

The Title is the title of the page, and the Body field is the main content for the page.

Input, Product, and Log

Next we have Input format, Product, and Log message as shown below:

t input format £ Product Log message:


An explanation of the additions or updates being made to help other authors understand your motivations.

The Input format defines how Drupal will process the content in the Body field (i.e. process as HTML, PHP code, or Filtered HTML); for now the default will do; in Chapter 4 we will explore these options in more detail. The Product option specifies if the page will be handled as a product and if so which type of product. At the moment we are just looking at content management and Drupal's general features, and are not concerned with the e-commerce features just yet, so we can leave the default for that option (the default is to not handle as a product). The Log message option allows us to leave a note to other authors or administrators of our Drupal installation, so they can see why we created the page or performed a particular operation.

Final Page Options

The final options are:

Comment settings Menu settings I: Autttonrtg n't'-i-ami i- Publishing options

| Preview 1 Submit ]

The Comment settings allow us to decide if we want users to be able to comment on the page; the options within available are: Disabled, Read only, and Read/Write. Disabled disables the comments system for that particular page, Read only prevents new comments being added to a page, and Read/Write allows new comments to be added as well as all comments to be read. The defaults for these can be set under the Content types management screen. Because we are talking about content in the context of a page, Doug does not want comments on pages; however, this may be useful for products, to encourage reviews and discussion on products.

The Menu settings define how the page should be handled in the various menus available to us; within here we should enter a title of the page to be displayed in the menu.

Authoring information records the author of the page, and the time the page was saved; this is mainly used by stories and not pages.

Finally we have Publishing options, which allows us to defiine — if a page is published or not, if we promote the page to the front page, if it is displayed at the tops of lists (i.e. sticky), or if it is a new revision. Because we are only taking an overview of the content management features, we will only be concerned with content that is set to be published.

Now that we know how to create pages, let us look into menus and setting pages as the home page, before moving on to create the content in our site.

Article Marketing Knockdown

Article Marketing Knockdown

The lifeblood of any online business is in being able to generate highly targeted, consistent traffic to your websites, landing pages and squeeze pages.

Get My Free Ebook

Post a comment