Adding Meta Tags to taxonomy_term override view with Pathauto, Nodewords and Views

Submitted by Janak on Mon, 08/03/2009 - 13:11

If you are using the wonderful Views module to override the default taxonomy_term pages, you will have noticed that it no longer displays the meta data defined for the term. This is due to the way nodewords handles Views and Taxonomy. It has no way of knowing that we are overriding the taxonomy term page so it can display the term data correctly.

Drupal development with OSX, VMWare Fusion and CentOS 5.3

Submitted by Janak on Wed, 07/15/2009 - 16:05

CentOS powers my personal websites and since it is based on RedHat Enterprise Linux (which we use at work) it makes my life easier when jumping back and forth between servers as all the filepaths are same, repositories and packages are all consistent. All in perfect harmony as far as work and personal web server are concerned.

Drupal 6 SEO: Improve SEO and Page Rank by preventing Link Juice Drain

Submitted by Janak on Fri, 06/26/2009 - 12:56

As anyone paying a close attention to their Page Rank and SEO will already know this, too many outbound links from your webpage can drain the "Link Juice" of your webpage andcan hamper the Page Rank and SEO value of your website. This is especially true when you are displaying hundreds of comments on the same page and each comment links to the user homepage (which may be offtopic).

Drupal 6: Setting custom breadcrumb and primary navigation to active for any page

Submitted by Janak on Wed, 06/24/2009 - 16:06

Ever wanted to set adhock breadcrumbs for pages that were not really part of any logical menu structure? Also want to activate the primary menu for this ad hoc page?

Drupal 6 makes this easy....

In the rough example below, you can see how I go about setting a custom breadcrumb for taxonomy terms pages without hacking around the drupal core and without installing bunch of additional modules.

Tracking registration conversions with Drupal and Google Analytics Goals

Submitted by Janak on Tue, 06/23/2009 - 09:59

For one of the website (at work), we needed to track registration conversations using Google Analytics Goals. As with all websites I work on, it is Drupal powered..


  1. User vists a page of interest, download or action requires the user to register.
  2. User visits the registration page (log the page user came from)
  3. After registration display a welcome page (Google Analytics Goal page)
  4. Redirect the user back to the page in Step 1

Aptana Studio for Drupal development (Eclipse plugin)

Submitted by Janak on Mon, 06/15/2009 - 21:24

For around two and half years I have been using Zend Studio 5.5 for Drupal development at work and had come to love a lot of the features it offers BUT all this functionality came at a heafty price. So, my quest for a new IDE had begun and it has been a difficult  one at that, mainly due to my somewhat unrealistic wishlist. Mostly I work directly on the remote server and wanted a solution that allowed me to SFTP over SSH and edit away my live files. Yea, many people will advise against that, but for my personal websites this isnt such a big issue as I am the BOSS..

Drupal MySQL to CSV export - easy way

Submitted by Janak on Thu, 06/04/2009 - 13:26

Today I attempted to export MySQL data from Drupal into a CSV file, easy enough, I thought to myself...

After battling for hours trying to do the pesky character escapes and string manipulation, I came across some very handy code in the Views Bonus Pack CSV Export module.

If you are using the views module, this addon is very handy indeed and will save you many hours of manual labour..

Here is a slightly modified version that can be used in any custom module (for instance when you are not using the excellent Views module)