O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Migrating to Drupal 7

Book Description

Learn how to quickly and efficiently migrate content into Drupal 7 from a variety of sources including Drupal 6 using automated migration and import processes with this book and ebook.

  • Learn how to import content and data into your Drupal 7 site from other websites, content management systems, and databases
  • Upgrade your Drupal 6 site to Drupal 7 and migrate your CCK based content into the Drupal 7 fields based framework
  • Use modules that will automate the import and migration process including the Feeds and Migrate modules.

In Detail

This book will show you how to migrate your content into the Drupal content management system. You’ll start by building a content type in Drupal to hold your migrated content. You’ll then import your content into Drupal using the Feeds module. In order to be able to easily use them again and again, you will also learn the best methods of maintaining and packaging migration configurations.

In "Migrating to Drupal 7" you’ll learn how to quickly package your legacy site’s data into a format that’s easy to import into Drupal. You’ll then build a content type to hold migrated data in Drupal. To save time and hassle you will learn how to import content into Drupal using the Feeds module. You’ll then get a brief introduction to the Migrate module and its powerful features.

With this guide you’ll also learn how to upgrade your Drupal 6 website to Drupal 7 in short, simple steps. You’ll also learn how to package your configuration code in Drupal using the powerful Features module.

In "Migrating to Drupal 7" you’ll start by collecting your current site’s content and packaging it up into a CSV file so you can easily import it into Drupal. You’ll then build a content type to hold your migrated data and content.

Mastering migrations using the Feeds module will be the next invaluable tutorial before you get a closer look at the Migrate module’s powerful features. You’ll then upgrade your Drupal 6 site to Drupal 7 and use helper modules to help run the upgrade faster and with less hassle. This book will then take you through the process of migrating CCK-based Drupal 6 fields to Drupal 7 using the Content Migrate module.

Using the Features module you will then package up our Feeds importer and content types into code to help you to build an easily maintainable and flexible Drupal website with.

Table of Contents

  1. Migrating to Drupal 7
    1. Table of Contents
    2. Migrating to Drupal 7
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Preparing Drupal for Content Migration
      1. Preparing for migration
      2. Required core modules
      3. Required contributed modules
        1. The Administration Menu module
        2. Chaos Tool Suite (CTools)
        4. Job Scheduler
        5. Features
      4. Installing the Feeds module
      5. Installing the Feeds Tamper module
      6. Other import module considerations
      7. Prepping your existing data for migration
      8. Summary
    9. 2. Starting a Migration Path
      1. Creating a content type
      2. Planning for the content type fields
        1. Additional contributed modules needed
          1. The Location module
          2. The Location Feeds module
          3. The Link module
      3. Adding fields to the content type
        1. The Location and text fields
          1. Adding a Location field
        2. Integer fields
        3. Term references
          1. Adding a vocabulary
          2. Adding the term reference field
        4. Node references
          1. Installing the References module
          2. Adding the node reference field
        5. Testing our content types
          1. Testing the node reference field
          2. Changing the display formatter on the node reference field
          3. Testing the term reference field
        6. Content type summary
      4. Migrating images and files
      5. Summary
    10. 3. Creating a Feeds Importer
      1. Creating a feeds importer
        1. Exporting, cloning, and deleting importers
        2. Importer configuration
          1. Basic settings
          2. Fetcher
          3. Parser
          4. Processor
      2. Mapping your importer
        1. Adding a source and target
      3. Running an import process
      4. Summary
    11. 4. Feeds Tampers
      1. Using the Feeds Tamper module
      2. Adding a tamper plugin
      3. Running the import with the tamper plugin
      4. Testing the tamper plugin results
      5. Summary
    12. 5. Maintaining a Migration Path
      1. Updating imports
        1. Cloning importers
          1. The cloning process
          2. Running the import update
      2. Summary
    13. 6. Packaging Content Types and Feeds Importers
      1. Features
        1. Building a content type feature
          1. Creating and enabling the feature
          2. The custom feature module
      2. Overriding your feature
        1. The Diff module
        2. Reviewing the override
        3. Recreating the feature
        4. Reverting features
      3. The Feed Importer feature
      4. Migrating your feature to another Drupal site
      5. Summary
    14. 7. Migration Using the Migrate Module
      1. Migrate module installation and configuration
        1. Installing Migrate
        2. Configuring Migrate
          1. Viewing a specific migration mapping
          2. Running the migration
      2. Summary
    15. 8. Migrating Content from Earlier Drupal Versions
      1. Upgrading Drupal 6 to 7
        1. Upgrade Status and Upgrade Assist
        2. Upgrading Drupal core
        3. Migrating Drupal 6 CCK fields and content to Drupal 7
        4. Upgrading your contributed modules
      2. Summary
    16. 9. Migrating from WordPress
      1. Migrating content from WordPress to Drupal
        1. Installing and configuring WordPress Migrate
          1. WordPress Migrate configuration
          2. Exporting a WXR file from WordPress
      2. Summary
    17. Index