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

Planning for the content type fields

So now that we have created our content type we are ready to add custom fields to the content type that will hold the data from our CSV file. Before we start adding the fields let's take a quick glance over our CSV data to see what types of fields and data we need to collect. We're going to illustrate this in a table for reference purposes and this will help us when we start adding our fields. On the left is the name of the CSV column and on the right is the type of the field we need to create in Drupal:

Name of the CSV column

Type of the field

fire_dept_name

Title (This field has already been created in the previous section as the default Title field in our content type. We will import the fire_dept_name ...

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