After installing Drupal we are ready to add content on our new website. The default "front page" of Drupal lists a number options available to you.

Drupal Default Frontpage

We will start with the fourth option "Start posting content". This option can always be accessed via the Create content option in the navigation bar.

Drupal Create Content

By default Drupal comes with two types of content. A Page is content that has text and pictures, but remains fairly static. A Story is similar to a Page, but in addition it allows for user interactions via comments. For a Web 2.0 experience it is recommended that the bulk of you content provides ample community interaction via comment posting. Note: In future lessons we'll discuss how and why we would use more types of content.

Drupal Content Types

If we select the Create Content -> Page we will be taken to the URL http://localhost/node/add/page and the Create Page form. Note: The Create Page and Create Story form only differ in the default value for Comment Settings.

Drupal Create Page

The Title text box is the only mandatory field and highlighted with an orange asterisk. Title will have a html tag of <h2> which will be bigger than the font size of the Body. It is important to have a descriptive Title since most Search Engines rank the content based on factors such as <h2> tags.

Menu settings are encapsulated within a collapsible menu and can be identified by the right pointing arrow and horizontal line. Clicking on the right arrow or linked text will change the arrow to a downward pointing arrow and inflate the collapsed menu with text box and drop-down box options.

Drupal Collapsed Menu Inflated

There are several other collapsed menus in Create Content -> Page such as Input format, Revision Information, Comment settings, Author Information and Publishing options. For the purpose of this demonstration we will only focus on Publishing options.

Let's create our first page and promote it to the front page using the Publishing options. Go ahead and fill out the Title, Body and select Promoted to front page from Publishing options.

Drupal Page Create Content Filled Out

When you are done press the Save button. Drupal will show your published content. Note: The initial display of your newly published content will include an informative message in green text telling you the results of your action. This message will only appear once and will not be shown again upon reloading the content. There are also View and Edit options to the right of the Title, this will only be displayed to users with the permissions to create or edit content.

Drupal Page Published

Since we promoted the Page to the front page of our website, we will see it on the root address taking the place of the default front page that we saw when Drupal was first installed. It is important to note that content promoted to the front page that are of considerable length will only be displayed partially with a teaser. If there are numerous content items promoted to the front page, each will display a teaser and post a Read more link to view the Page or Story in its entirety.

Drupal Teaser Read More


End of Year Promotion - 10% off Zend Training
Also note that the URL of your first post is the domain name followed by "/node/1". When you create content in Drupal it is referred to as a "node" and each additional node you create will increment the number in the URL. Later we will use a module known as path to give your content a more meaningful URL.