Create typical blog using drupal
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).
- Create view ‘block’
- View type ‘list’
- Fields ‘node title’
- Filter ‘node type=blog entry’
- Sort ‘created time’ descending
View the block in custom region sidebar_region
Wow! I found some surprising info here, i was looking long back……….. i like this post, so i have bookmarked this blog! Thanks for the Drupal tuto
In case the blog is just a part of your website, do the following to avoid the blocks of archive, latest posts, category etc to appear on the blog section.
Configure the blocks, in the “visibility settings” section, add the following:
< ?php
$match = FALSE;
$url = request_uri();
if ((strpos($url, "blog"))){
$match = TRUE;
}
return $match;
?>