O'Reilly logo

Migrating to Drupal 7 by Trevor James

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

Adding a tamper plugin

You will most likely be adding a tamper plugin to your importer to correct issues in the content you want to import. For example, in the CSV file we are using the hq_city column that contains the majority of the cities in initial capital and then lowercase. However there are instances of city names in uppercase. As we're striving to import consistent data and present our content consistently, we may want to convert the all-caps words to initial caps on those specific values. We can do this by applying a tamper plugin to our hq_city field. Let's go ahead and do this:

  1. Launch your Fire Department importer and go to its Feed tamper configuration screen.
  2. Look for the hq_city field. You'll notice that it currently says No plugins ...

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

Start Free Trial

No credit card required