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 fields to the content type

We're now ready to add custom fields to our content type using the migration plan we will create later. Go back to your Fire Department content type and click on the Manage Fields tab. This will open up the field's configuration screen.

The Location and text fields

Let's go ahead and add a group of Location fields to our content type that we'll use to map the imported address data from our CSV file. I'm going to advise adding all fields of one type in order of their appearance in the CSV. Your migration plan will help you to do this. You can easily rearrange your fields once you've created them all if you want the order to be exact to your CSV's order.

Bear in mind that the fire_department_name column will map to ...

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