slideshow 1 slideshow 2 slideshow 3

Installing node.js on Drupal

The node.js module (www.drupal.org/project/nodejs) is a great way to get node.js working with your Drupal installation. Although the README.txt file is verbose, I had problems getting everything working. Below are instructions that I believe are a little clearer.

Deleting Cookies In Drupal

When deleting a cookie in PHP the consensus is to use setcookie("foo", "", time()-(60*60*60)); and the cookie will be deleted. I however ran into a problem where the cookie just would not go away! I tried different variation including:

Views 3 Styles

Views 3 is an extremely powerful tool for Drupal 7 that allows you to perform complex queries to the database having little to no SQL knowledge. Unfortunately there is little documentation in describing some of the incredible things you can accomplish with it by simply using it as an API. In this post I will show you how to create a new views style, or format. A style manipulates the results of a view allowing you to show them in any way you want. In this example I needed to create a time line. This time line was very simple as it was linear, years as dates, and were no date duplicates.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer