The Central Hub of Toad Knowledge

Automated CVS checkouts of Drupal Core + Contrib

If you've built out more than a few Drupal projects, you've probably gone through the same song & dance a number of times - find the most recent release of core, download, find the most recent release of Views, download, find the most recent release of CCK... Around here, we've been doing CVS checkouts to simplify upgrades but, even if you have scripts like
By Sean McKeon, Web Developer
March 5, 2009

Using PHP/MySQL w/Drupal to update missing Google Geocode data

We recently needed to fill missing geocode values in a project's database. Using some PHP magic and taking advantage of hook_cron() this is how we filled the missing values: /** * Implementation of hook_cron() * When the cron runs, try to resolve any locations that have a lat or lon = 0 */ function overmap_cron() {
By Barrett Olafson, Senior Project Manager
March 4, 2009

Authorize.net is deprecating their SSL 2.0 Protocol

I recently received email notification that Authorize.net will be deprecating their SSL 2.0 Protocal the week of March 16 - 20, 2009. All of our Authorize.net ecommerce development was done using the 3.0 version, even going back a few years so it's been around a while. However don't be surprised when ecommerce sites (especially old ones) stop accepting transactions in the middle of March.
By Joaquin Lippincott, CEO
February 25, 2009

Social Media Club Portland Re-launches

Last night, nearly 90 people packed into The Agency for the official kickoff presentation with the Social Media Club - Portland.
By Sam LaRoe, Account Manager
February 24, 2009

Autocomplete, clearing form values and Drupal form fields

Some browsers like to be helpful and help by remembering certain form fields. I was having a problem with Firefox auto-populating my some of my form fields (specifically field type 'password' and 'password_confirm') in a custom module I wrote.
By Barrett Olafson, Senior Project Manager
February 20, 2009

Validating multiple drupal form fields and only outputting one erro

I've run into this problem twice. So it was time to figure out a solution... Check out my solution on the drupal support boards @ http://drupal.org/node/155695#comment-1263443
By Barrett Olafson, Senior Project Manager
February 17, 2009

DrupalCampPDX '09 is coming! Are you ready?

The new year is upon us, and with a fresh install of the calendar comes the opportunity to try and recreate the magic that was DrupalCamp 08. The inaugural planning session for the this year's camp took place last night at Rogue Brewing. Thanks to all who took some time out of their day to show up and to Grant K. for getting the ball rolling.
By Sam LaRoe, Account Manager
January 29, 2009

How to Add a Field to the Drupal Contact form

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:
By Joaquin Lippincott, CEO
January 27, 2009

Getting command line access to PHP and MySQL running MAMP on OSX

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
By Joaquin Lippincott, CEO
January 26, 2009

Installing FTP on a CentOS 5 system

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
By Barrett Olafson, Senior Project Manager
January 22, 2009

Ready for transformation?