Extend Views with Relationships in Drupal 7


show more Extending views with relationships provides you with in-depth training on Developer. Taught by Tom Geller as part of the Drupal 7: Reporting and Visualizing Data show less
please wait ...

Extending views with relationships

Now we come to one of the hardest concepts to understand, relationships. As with Dynamic Filters I'll only be able to give a peek into the vast world of possibilities. To demonstrate, I'll show what amenities are available at the location where an employee works. That information is connected with the location because after all, a location would have a cafeteria, not an employee. But we want to display it in a list of employees to show what amenities are available to any given employee. To do that, I'll have to set up a relationship between the employee, and the location.

We started setting that connection up in the video Connecting two fields using references. At the beginning of that video, we installed the module references. If you haven't done so already, you'll need to write now. You can get it from drupal .org/project/references. Once we installed that module, we added a reference field so we could store locations in a Location content type, and then we pointed ...

Extending views with relationships
Video duration: 6m 24s 4h 23m Intermediate

Viewers:

Extending views with relationships provides you with in-depth training on Developer. Taught by Tom Geller as part of the Drupal 7: Reporting and Visualizing Data

Subjects:
Developer Web
Software:
Drupal
Author:
please wait ...