Viewfield

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Viewfield provides a field that holds a reference to a View and renders it whenever the entity containing the field is displayed. Essentially Viewfield provides a way to display a view as part of any entity.

Features

  • Author chooses a one or more views and displays from a list.
  • View arguments (contextual filters) may be supplied literally or through tokens.
  • Administrators may restrict which views may be assigned.
  • Administrators may supply default values that will be used for all entities in a bundle, making it unnecessary to supply field values for each piece of content.

Drupal 6 Release

Drupal 7 Release

Drupal 8 Release

Viewfield 8.x-3.x

Viewfield Tutorial (D6 / D7)

A common use case is to include the contents of a particular view in all nodes of a particular content type. The following example shows how

Guide maintainers

keithm's picture