migrate

migrate

Migrate module: migrating a node's taxonomy terms

Posted by stella on Wed, 2010-03-10 10:42 in

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.

Migrate module: migrating poll nodes

Posted by stella on Thu, 2010-03-04 17:07 in

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.

Using the hook_migrate_prepare_node() and hook_migrate_complete_node() hooks, I was able to migrate all choices for each node, along with all existing votes stored.

Migrate module: file handling

Posted by stella on Tue, 2009-10-27 19:31 in

UPDATE: In the latest version of the migrate module, the hook names have changed - the word 'destination' has been removed.

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.

Migrate module: handling multiple user roles

Posted by stella on Wed, 2009-09-30 10:51 in

UPDATE: In the latest version of the migrate module, the hook names have also changed - the word 'destination' has been removed.

One of the issues I encountered when migrating users from another CMS to Drupal, using the migrate module, was that I couldn't associate users with more than one role.

Migrate module: handling encrypted passwords

Posted by stella on Sun, 2009-08-30 18:16 in

UPDATE: it is no longer necessary to do this, as the latest release of the migrate module supports md5 passwords. The hook names have also changed - the word 'destination' has been removed.

Migrating your website to Drupal

Posted by stella on Sat, 2009-07-25 01:36 in

So you've got a website using another CMS and you want to switch to Drupal? Well with the new Migrate and Table Wizard modules the whole migration process is now relatively painless!

Syndicate content