Entering geographic data with the Location module


show more Entering geographic data with the Location module provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal 6: Online Presentation of Data show less
please wait ...

Entering geographic data with the Location module

We've already set up Drupal to geocode addresses. Now we're going to provide a place where each member of our fictional family lives. First, we need to add location fields to the content type that stores that information. We could add it to the Person content type, in which case each member has their own address. But we know that some family members live together, so keeping in mind a concept we learned in the Planning your Data Structure video, we're going to create a new content type called Household. We're making the assumption that each person has only one household, but that each household can contain many people in what's called a one-to-many structure. We'll put this altogether later using relationships.

Again, we could do it in other ways. All have their advantages and disadvantages. We could introduce flexibility, but also complexity, by allowing people to have more than one household, for instance. Like many other data management decisions, it's a t...

Entering geographic data with the Location module
Video duration: 10m 10s 6h 8m Intermediate

Viewers:

Entering geographic data with the Location module provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal 6: Online Presentation of Data

Subject:
Web
Software:
Drupal
Author:
please wait ...