Blog

Technology

Migrate module: migrating a node's taxonomy terms

One of the issues I encountered when migrating nodes to Drupal, using the migrate module, was that I couldn't associate nodes with more than one taxonomy term. Actually in this example, I'm migrating content from one Drupal database to another, so I'm going to assume everyone is already familiar with the database structure, specifically the node and term_node tables.

Technology

Migrate module: migrating poll nodes

Currently the Migrate module doesn't support full migration of poll nodes. When the poll module is enabled, you can create a content set mapping for a poll node, but you are unable to set the poll status (active or closed) and, more importantly, you can't migrate the poll choices.
Technology

Overview of Google authentication methods

There are a number of different authentication methods available for integrating with Google Apps.  These include OpenID, OAuth and SAML amongst others.  At a first glance, it's not always entirely clear on the differences between them and when you may wish to use one over another.  Here's a brief overview which hopefully makes this a bit clearer.

Technology

Ubercart: modifying checkout panes

The Ubercart module is one of the best e-commerce options for Drupal currently. It is very user friendly and highly flexible with administrators having control over the product catalogue, payment gateways and email notifications. Site administrators also have control over which checkout panes are displayed during checkout and the order in which they appear.

Technology

Migrate module: file handling

So you're migrating pages and users from another CMS to Drupal using the Migrate module, but how do you handle all those file attachments? This example will cover taking the input filename and adding it to an imagefield on a Drupal content type. However, this should work in exactly the same way for filefields too.
Technology

Modifying your site's email "From" header

By default, all email sent from your site uses the site email address configured at admin/settings/site-information as the "from" address. On most sites this is set to something generic, like "webmaster@example.com" or "noreply@example.com". However in a lot of mail clients, when the email reaches your inbox, it appears as being just from "webmaster" or "noreply". Wouldn't it be better if it appeared as being from "Your site" or whatever you have set your site name to be?

Technology

Drupal hits Belfast!

Less than a month after DrupalCon Paris and I'm back from an awesome Drupal Camp in Belfast. It was a jammed pack couple of days with two presentation tracks, along with break out rooms, a documentation sprint and usability testing. Oh and a very successful Drupal Surgery too. Over 50 people attended and came from all over Ireland, as well as from Scotland and England.

Technology

Coder Module: Upgrading your code to Drupal 7

Drupal 7 code freeze is almost upon us, and you may now be considering upgrading your modules and themes. To make that process as easy as possible, I've been working hard to update the Coder module with all the necessary Drupal 6 to Drupal 7 reviews to help you identify where in your module or theme you need to make changes.

Technology

Migrate module: handling encrypted passwords

Last month I blogged about using the Migrate and TableWizard modules to migrate users and nodes from the CMS Made Simple content management system to Drupal. Since then I've been using them more and more and have implemented a number of the migrate hooks to manipulate the data during the migration process.