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

Scenario

  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)

Photoshop - Black and White conversion

Submitted by Janak on Tue, 05/26/2009 - 16:46

I have been a Photoshop user for a good few years and as with anything, you tend to develop a habit of doing things a certain way. Until today I always thought the default methods were good enough for converting color images to B&W. Today, after trying to carry out this simple conversion I realised that the colours werent converting quite right, in the past I have always fixed the "washed out" converted images with a little bit of Curves love.