By Erik, Sun, 04/15/2012 - 20:39

I have recently been working on a few projects that involve migrating legacy data to Drupal. In the past, I have used node_import, node_export, user_import, feeds, and migrate (version 1.x) and each has its pros and cons. But this project had a little more complexity and some pieces that I wasn't sure of how to approach with any of these methods. So I decided it was time to dive into migrate version 2.x.

By Erik, Sun, 02/26/2012 - 18:43

I have been asked and seen some recent posts on folks having trouble setting up Drupal multisites on their shared hosting, specifically Dreamhost, Bluehost, etc. I figured it might be worth giving the basics for any hosting on how to get Drupal multisites to work.

By Erik, Sat, 01/21/2012 - 05:24

I presented a talk on Drupal Multisites at DrupalCamp MA 2012.

[edit 1/21/2012] I have uploaded the slides as I presented.
Thanks for everyone's support.

By Erik, Mon, 12/12/2011 - 20:51

One handy trick I've found is that when you're visiting a Drupal page and you notice that you're not logged in, you can simply add user?destination= into the URL right after the root of your Drupal site and keep the path. This means that




Then when you log in, you're brought back to the page you were viewing with no fuss.

I do this often enough that I decided to make it a bookmarklet.

By Erik, Tue, 10/25/2011 - 02:06

I ran into a problem using the Migrate module where I migrated a series of newsletter issues and then imported a series of articles that were related to each newsletter.

Typically, for nodereferences, you can add a dependency of the first migration. If both the newsletter issue table used a primary key and the article table used a foreign key of "issueid" then the mapping is very straight forward.

By Erik, Mon, 10/17/2011 - 01:19

I presented at Drupal Camp New Hampshire 2011 and Drupal Camp MA 2012.

This talk was about running Drupal locally and how to set up a good development environment.

Edit: [2011-11-10] Just found out there's an error on the location of the my.cnf file. MAMP 2.x wants them in /Applications/MAMP/conf ... slides updated.

By Erik, Tue, 08/02/2011 - 20:16

Version control is a hot topic in terms of managing and deploying sites. Now that drupal.org has moved from a server-based version control system (CVS) to a distributed version control (git), some developers have been on the push to move their own development strategies into git to have one control system to manage all of their files.

By Erik, Tue, 06/14/2011 - 19:11

I'm trying to get a better handle on Drush aliases, so figured it would help to write out my findings and thoughts. This post may update as we go, so look back for changes.