Ever wish you could use the existing Drupal Contact module as your sitewide contact form and just add a field or two? You can and it's really easy. All you need to do is create a new module and add the fields via the hook_form_alter() function. Here's an example of how we do it on metaltoad.com:
January 27, 2009
If you have MAMP installed on your Mac OS X box, you're probably going to want command line access to those applications at some point. Assuming you're running a default install you'll run into difficulty when you type php or mysql without logging into the appropriate directory. In MAMP the directories are as follows: /Applications/MAMP/bin/php5/bin/php
January 26, 2009
I recently had to install a FTP client on one of our live servers. This was a first time occurrence for me, so I thought it might be useful to document for anyone else looking to do the same. - Use yum to install the FTP package:$ yum install ftp
January 22, 2009
If you've ever run out of disk space you know what a pain that is. However when you run out of diskspace on the host machine running VMware, things get even more interesting. When disk space runs out on the Host VMs are plunged into a “stuck” state, which means they cannot be restarted or started normally. Generally the best way to manage the state of the server is to:
January 19, 2009
Sometimes when committing things to svn you want to commit a directory, but ignore all of the files inside it. Here's how.
November 25, 2008
Working on an Ubercart site recently, I ran into a small snag : some of the collapsible fieldsets weren't opening under IE7 when using the Google Toolbar w/ AutoFill enabled. Specifically, the Delivery & Billing information panes weren't displaying their form fields when expanded.
October 25, 2008
With our new look and feel finally released to the world, I thought I would take a moment to pontificate and see if I couldn't add something of value
October 21, 2008
If you try deleting a symbolic link like this: rm -f test/ You get this: rm: cannot remove `test/': Not a directory Same deal if you try to use 'rmdir' to delete it. Here's what works: Remove the trailing slash from 'test/' and you're all gravy.
September 30, 2008
I attended the 2008 AIGA leadership retreat in Omaha, Nebraska (I'm starting in July as the new Web Chair for AIGA Portland). There were some great opportunities to talk about Web Development and get inspired about this great organization.
June 24, 2008
I just got back from Webvisions here in Portland. There were a number of interesting presentations and conferences are always good to get revitalized. One presentation that was of particular interest to me was by Sean Larkin of OpenSourcery, where he covered Drupal as a development platform.
May 28, 2008