drupal 6

If you build a View with an exposed filter you may want to put this filter in a block. This is can be done to separate filter from view results and to display exposed filter in any part of your website.

To do this, go and edit your view.

UPD 06/20/2011: If you're looking for a solution on How To Separate Drupal Taxonomy Terms Output By Vocabulary for Drupal 7 read my new tutorial here.

Happy Autumn everyone! Several days ago I got a question from one of drupal users about „How to output drupal taxonomy terms separated by vocabulary”. By default, Drupal outputs all terms despite of their vocabulary in one list, which isn’t great at all. On the output we want to get something like this:

Now I will explain you how to achieve this.

Drupal themeing is very easy and logical, but there are still a lot of questions at drupal.org and stackoverflow.com and other resources about how to do this and how to output that. Today, I will review and answer three most common Drupal Theming Questions.

And another Drupal tip for today: "How to add a tab to the node in Drupal":

Put this snippet in hook_menu of your new module:

$items['node/%node/new_tab']  = array(
    'title' => 'New Tab',
    'page callback' => 'mycallback',
    'page arguments' => array(1),
    'access callback'   => TRUE,
    'type' => MENU_LOCAL_TASK
)

This tab is going to be shown on any node type and without access restrictions,

A little snipped which is among very much needed and asked on Drupal.org forums: "How to output comments in desired place on the page and not on the bottom?". Here is the answer:

So you've decided to choose Drupal for your web project right? Good decision. I won't repeat all advantages of Drupal here, but this is a best platform for your web project unless you want to stick with PHP Framework and to start your development nearly from a scratch. Ok, I guess you already read all these articles about 'Top 10 things to do with Drupal' and bla bla bla... Well there are maybe some useful, but most of those tip lists are real content bullshit.

Yesterday, I encountered the weird problem. Cron on one of my Drupal based web sites got stuck. I was checking my search index and realized that new content isn't being added to Drupal search database. Cron isn't launching and Database logger says that: "Attempting to re-run cron while it is already running". This is a common problem. So what should you do to fix this?

Subscribe to drupal 6

You are here