By far the best tutorial out there; quick and to the point.
http://toroid.org/ams/git-website-howto

I wanted to write a quick script that would send an email reminding me of how much time was left until a particular event. This is what I came up with!

<?php
/**
* Sends an email with a 'time left' reminder
*/
Keys

I recently upgraded my hosting package with 1and1 and now able to use SSH to connect to my webserver! There were a few different places out there that I had to piece together in order to setup my SSH keys with the 1and1 server so I decided I would consolidate my findings here.

Menu Icon

Recently, someone was asking me how to modify the items of a particular menu within a Drupal powered site. In particular, they wanted to modify all but the last menu item. This is where the Drupal API comes to the rescue with its theme_menu_link function. This function allows you to manipulate your menu items as you see fit. Want to add a unique class to a particular menu item? Need to add a string to only certain menu items? Want to replace the menu completely?

A House

Front yard

Here are some pictures of the house...

Planking News

Had to jump on the planking bandwagon:
Planking News: Planking - Just do it.. Powered by Managing News.

According to a W3 Techs survey, Drupal is the front-runner when it comes to content management systems.

Drupal & Git (part 1)

Drupal & Git (part 2)

Sometimes you need to make a CCK field required only when certain conditions are met (e.g., a particular user or role). In these cases, simply marking a field 'Required' in the field's configuration page is just not enough. Enter the #after_build FAPI attribute.

In a recent project I used Node Gallery and Node Gallery Access to create password protected image galleries that did not require a user to register an account at the site. These two modules did exactly that. However, when viewing the files directly (e.g, yoursite.com/path/to/file.png) there were no access restrictions in place. So if anyone found out the file name they could download the restricted image.

Powered by Powered by Drupal

Subscribe to Gerrit Brands RSS
© 2012 Gerrit Brands. Drupal theme by Kiwi Themes (with some slight enhancements by gbrands).