Views tree

Categories

Component ID

760882

Component name

Views tree

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

355598

Component created

Component changed

Component body

This module provides a tree-based style plugin for Views. It is equivalent to the tree-based style template from Views 1.

It is based off of the list style. Although it generates a nested view, there is still only a single query run for the view making it quite performant.

The 1.x branch is compatible with Views 2. The 2.x branch is compatible with Views 3.

Usage

  1. Create a new view using the Fields row style. Populate it with the appropriate fields you want.
  2. Select the Tree (Adjacency model) style plugin.
  3. Select the linking fields in the style configuration panel. Generally, you will want to link from a nodereference field to the nid on the same node type. That is, the nodereference field is used as a pointer to the "parent" node.
  4. Save and enjoy.

Compatibility

This module has been tested and used with the following relationship-oriented modules:

This module was developed for http://www.star-fleet.com/.