Entity Views Attachment (EVA) Module

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:04
    [♪♪]
  • 0:06
    [Entity Views Attachment Module with Addison Berry]
  • 0:13
    The Entity Views Attachment module is a really handy module
  • 0:17
    that extends Views. [http://drupal.org/project/eva]
  • 0:20
    So you need to have Views installed and enabled.
  • 0:23
    And then what EVA, Entity Views Attachment, allows you to do
  • 0:28
    is create a view and then have that view attached to
  • 0:33
    so that it displays with an entity rather than being on a page of its own with its own URL.
  • 0:40
    Or even within Views there's the Attachment display,
  • 0:44
    and that allows you to have multiple views appearing on the same page.

Entity Views Attachment (EVA) Module

Loading...

The Entity Views Attachment (EVA) module extends the Views module to allow you to attach a view to any entities on your site. Views on its own will let you create a page for your view, with its own URL, and it also lets you attach multiple views to the same Views page, but it doesn't let you do something like attach a view to a node, or a user. This lesson walks through a simple example of creating a basic view listing published articles on a site, and then using EVA to attach that view to user profiles, and making sure that we only list the published articles for that user, using a contextual filter.