Adding a story

Adding a story to your website is very easy. But first, make sure you are logged in as administrator or you won't be able to add anything at all (the administrator can grant permission for other users, or even all users, to add content, but by default they are not allowed to).

Go to the Navigation menu (ie the menu headed “admin”, assuming that is your administrator user name). Choose Navigation | Create content | Story. You will see the Create Story page.

  • In the Title field, type in a title (for example “First Story”).
  • Type a few sentences of nonsense into the Body section.
  • Don't worry about the other items on the form, we will talk about these later in the tutorial.
  • Click the Save button at the bottom of the form.

You should see your new story. Notice the URL, it will be something like:

?q=node/1

In Drupal, every item of content is stored in its own node, and every node has a unique number. You new node might not be node 1, it may well be a different number, but it isn't that important. We will see later how to provide more sensible URLs for our pages.

Now repeat the process, adding a second story called “Second Story”, and put some different nonsense in the body of the story.

Now lets look at our front page. The easiest way, at the moment, is to enter your site base URL into the browser, for example for Cookie Wiki we visit

www.cookiewiki.com

But of course use your own URL. You will see your two stories listed, with a short extract (the “teaser”) from each story. Not that the most recent article is displayed at the top of the list, so expect to see the Second Story at the top of the page.

If you click on one of your stories, you will be taken to the page which displays the full story.

Well done, you have added your first Drupal story!