Drupal is a Content Management System - which means blogging is just a small cog of the big wheel of Drupal. This does make Drupal harder to use for blogging (as compared to Wordpress), but with these modules and settings Drupal can be a very good blog workhorse. In fact, it runs this blog too!
Install Drupal
Download and set up Drupal 5.0 while following the installation instructions.
Change Settings
Change the settings of Drupal by logging in to your administrative dashboard (http://< path to drupal website >/?q=admin).
Take the site offline
URL: http://< path to drupal website >/?q=admin/settings/site-maintenance
When people are visiting your site, instead of being shown an incomplete and an under construction site, you can take your site offline, this means only the admin can have access to the site and the site will not be visible to anyone else. We will come back to this page once we are done with all the set ups.
Site Information
URL: http://< path to drupal website >/?q=admin/settings/site-information
Change the site name, slogan, mission etc. These can be made to appear on your blog based on the theme you select.
Also set the default front page to “blog/1” so that your blog becomes the index page.
Administration Theme
URL: http://< path to drupal website >/?q=admin/settings/admin
Change the administration theme to one of Garland. It is a robust theme that works with any kind of Drupal administrative interface. This means whenever you visit the admin section of your site, the site will be styled like this theme.
Install a blog theme
URL: http://< path to drupal website >/?q=admin/build/themes
Download a theme from Drupal.org Themes page and upload it to the “themes” folder of your Drupal installation. You can preview themes at the Drupal Themes Garden page - it is like CSS Zen Garden, but for Drupal themes (and a lot more clunky!).
Once you have uploaded the theme, go to the URL mentioned above and select the theme you have uploaded and make that your default theme. Remember, your theme will not be applied to your blog unless you set it as “default” theme.
Confirm Modules are Running
URL: http://< path to drupal website >/?q=admin/build/modules
Make sure the following modules are selected:
- Blog
- Blog API
- Comment
- Contact
- Path
- Menu
- Search
- Statistics
- Taxonomy
We will come back to this page in part 2 to install other modules, once the basic setup is done.
Settings for your blog
URL: http://< path to drupal website >/?q=admin/content/types/blog
You can set in this page whether you want to enable or disable comments for your blog entries.
URL: http://< path to drupal website >/?q=admin/content/node-settings
Set the number of blog posts you want to be displayed and the length of excerpts for each blog post to be displayed. By default it displays 10 blog posts on the front page and an except that is 600 characters long (you can set it to “unlimited” which effectively displays the whole post).
Settings for Comments
URL: http://< path to drupal website >/?q=admin/content/comment/settings
This is where you setup comments to minimize spam (or remove spam altogether for most bloggers!). In the Posting Settings, make sure “Anonymous posters must leave their contact information” is selected, “Preview Commenting” is set to “required”. You can also set where you want the comment submission form to be displayed, and how you want the comments to be displayed.
Setting up Menus
URL: http://< path to drupal website >/?q=admin/build/menu
If you would like to put links to other sites, or your contact page, this is the place to create them. Read up on how to setup and administer menus
Setting up your Contact Page
URL: http://< path to drupal website >/?q=admin/build/menu
First, go to http://< path to drupal website >/?q=admin/build/contact/add and add a category for your contact form. Then, click on “Settings” to set what should be shown above the form and set a threshold on how many times the same person can ping you (to prevent spam).
Setup Categories
URL: http://< path to drupal website >/?q=admin/content/comment/settings
If you have imported your blog from elsewhere, you will already see a “vocabulary”. Otherwise, click on “Add Vocabulary”, to start creating a container for your blog categories. Even if your “vocabulary” is setup, you can look at the following screenshot, to make your categories behave like tags. If you don’t want your categories like that, just uncheck “Free tagging”, and set the hierarchy to “Single/Multiple”.
URL: http://< path to drupal website >/?q=admin/content/taxonomy
If you need to add categories, click on “add terms” next to the “vocabulary” that has been setup for your blog in the previous step. If you have set up your vocabulary as “free tagging”, then you can create these categories on the fly when you are typing your blog post.
The intention of this is to show the categories listed in the sidebar, which we will be covering in part 2.
Setup Menus
URL: http://< path to drupal website >/?q=admin/build/menu
Apart from your usual links to posts belonging to certain categories, you would also like to have links to other pages (e.h. contact page) or other websites you like. You can set all of them up in a menu. A menu is a set of links. Once you set up a menu, you can display them as blocks (covered below)
Setup Blocks
URL: http://< path to drupal website >/?q=admin/build/block
Blocks are sets of content in the sidebars of your blog. An example of a block would be a menu list of websites you visit daily. You can select which blocks you want displayed and choose where (left/right sidebar) here.
URL: http://< path to drupal website >/?q=admin/build/block/add
You can add blocks to your blog (e.g. you want to add your twitter widget or Feedburner chicklets). Drupal website has a set of snippets you can use to create new blocks.
There ends the first part, we have learned to customize the basics of a Drupal install for blogging, and in part 2 we shall cover some kick-ass Drupal modules that make blogging with Drupal a breeze.