Tag: drupal 6

27 Mar, 12

Making Drupal Themer’s Life Easier: Autosaving CSS Changes From The Chrome Browser

Theming in overall (not only in Drupal) can be a very painful process: themer looks at the .psd, then switches to his editor of choice, types some css rules, hits save, switches to a browser, hits refresh button and finally, looks at results. So much moves just to change only ...

Read now
31 May, 11

How To Display Views' Exposed Filter In A Block And Theme It

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.

  1. Under ...
Read now
07 Sep, 10

How To Separate Drupal Taxonomy Terms Output By Vocabulary

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 ...

Read now
12 Aug, 10

The 3 Most Common Drupal Theming Questions and Answers

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.

Here are the most ...

Read now
11 Feb, 10

How to add a tab to the node in Drupal

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:

1
2
3
4
5
6
7
  1. $items['node/%node/new_tab'] = array(
  2. 'title' => 'New Tab',
  3. 'page callback' => 'mycallback',
  4. 'page arguments' => array(1 ...
Read now
11 Feb, 10

How to output comments anywhere within a theme

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:

1
2
3
4
  1. if (function_exists('comment_render') && $node->comment) {
  2. echo comment_render($node, $node->cid);
  3. $node->comment = NULL ...
Read now
07 Jul, 09

The 11 Most Important Things To Do After You Install Drupal 6

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 ...

Read now
27 Jun, 09

Drupal Tips: Cron Stuck

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 ...

Read now