PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Create typical blog using drupal

January27

The drupal blog module present in the core is not sufficient lacking the main features of a blogging website. Wordpress provide us the standard features of a blogging website in a single package.

The missing features can be categories, archives, recent posts, latest comments, blogroll and there are many more I am just talking about the main ones.

First activate the blog and taxonomy module (admin/build/modules)

Go to admin/content/categories. Create the different categories for your blog. First create vocabulary eg “category” then add “terms” eg books, novels, reading, writing

Create the different posts in their respective categories

Then download and activate module taxonomy_menu to display the categories of a blog in your menu. Create a custom menu called sidebar_menu, shift the categories in the sidebar_menu. Then create region “sidebar_region” shift the sidebar_menu in sidebar_region using blocks.

Then create archives using this link http://drupal.org/node/52037. Use blocks (admin/build/block) to view block in sidebar_region

Then create recent posts by creating views (admin/build/views).

  1. Create view ‘block’
  2. View type ‘list’
  3. Fields ‘node title’
  4. Filter ‘node type=blog entry’
  5. Sort ‘created time’ descending

View the block in custom region sidebar_region

posted under PHP

Email will not be published

Website example

Your Comment:

 

1,896 spam comments
blocked by
Akismet