Tutorial – Adding, Configuring and Using the Drupal Blog Module

The Blog Module in Drupal allows your Authenticated Users to maintain their own individual blogs within your site. This can be useful if your site has multiple users and you want your users to have their own space where they can voice out their opinions, ideas, random thoughts, and so on.

In this post, I’ll show you how to activate the Blog Module, perform basic configurations that will make it work better, and of course, create your first blog post.

Why Add the Drupal Blog Module and How to Add It

If you’ve read my blog post entitled “How to Install Drupal 7 on HostGator – Create first page and article”, particularly the section “How to Add a Blog Post in Drupal”, you might be wondering why you would have to activate the Blog Module when in fact you can easily add a blog entry by adding an Article.

Well, in their simplest forms, there’s actually one big difference between articles and blog posts. Let’s say you have two users, Lance and Eigen.

If Lance and Eigen each add a series of articles, those articles are going to be displayed (by default) on your Home page. The same thing happens when they both create a series of blog posts, except for one difference – Under each blog entry, a link to each user’s personal blog will appear. You won’t find this on articles (see the sample article entitled “This is an article” on the screenshot below – click to enlarge it).

01 - link to personal blogs

So, when you click on, say, “Lance’s blog”, you’ll be brought to Lance’s blog where you’ll find all the blog entries added by Lance.

02 - personal blog

Sounds interesting? Let me now show you how to add/activate the Drupal Blog Module.

Adding the Drupal Blog Module

Log in to your admin account and click Modules on the top menu bar.

03 - click module menu

Once inside the Modules page, go to the List tab and tick the check-box beside the item named Blog.

04 - module list blog

After that, scroll down to the bottom and click the Save Configuration button.

05 - save configuration of Drupal Blog Module

If you’re still in the Modules page, scroll back up and click the tiny x-button on the upper-right to close the page. That’s it.

06 - close modules page

You’ve now added the Blog Module. Not yet time to celebrate though.

Although you’ve already added the Blog Module, your users (except admins) won’t be able add blog entries yet. To enable them to do that, you’ll have grant them the required permissions.

Enabling Users to Add Blog Entries with the Drupal Blog Module

Start by going to the top menu and then clicking People.

07 - click people menu

In the succeeding page, move to the right of the screen and click the Permissions tab.

08 - permissions tab

On that page you’ll see a very long list of permissions that can be granted to Anonymous Users, Authenticated Users, and Administrators. For example, there are permissions for viewing, posting, and editing comments; creating, deleting, and editing articles; creating, deleting, and editing blog entries; and many others.

For now, we just want to grant permission to Authenticated Users to create new blog entries.

Scroll down until you reach the item that says “Blog entry: Create new content”. Make sure the check box under the column AUTHENTICATED USER is checked.

09 - blog entry create new content

When you’re done, scroll down to the bottom and then click the Save permissions button.

10 - save permissions

Again, close that page by clicking the “x” button at the upper-right corner of the page.

You’re now ready to add your first blog entry.

How To Add a Blog Entry

Login using one of your Authenticated User accounts. If you don’t have any yet, I suggest you create one. In fact, I suggest you create two authenticated user accounts just so you can see how this works.

Click either the Add content or Add new content link, whichever is visible.

11 - add content

Next, click the Blog entry link. Depending on whether you’ve enabled permissions for adding articles, you may or may not see the Article link shown on the screenshot below.

12 - blog entry

Inside the Create Blog entry page, enter an appropriate title in the Title field. You can then start composing your first blog post in the Body text box.

13 - create blog entry

You may take a glimpse of your work as it would appear when it goes live by clicking the Preview button found at the bottom.

14 - preview

You’ll then be shown two Preview versions. A trimmed version and a full version.

15 - preview trimmed and full version

Once you’ve decided you’re done with your blog post, publish it by clicking the Save button.

16 - save settings in Drupal Blog Module

If you’re following each step outlined here on your own computer, here’s what I’d like you to do. Create two more blog posts using the same account you’re in now. After that, logout and then login using another Authenticated User account.

Create three more blog posts using that second user account. Once you’ve logged out, you should see blog posts arranged like the ones I showed you in the first two screenshots of this article.

That’s it. Your users can now have their own Drupal blog.