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
- Create a new view using the Fields row style. Populate it with the appropriate fields you want.
- Select the Tree (Adjacency model) style plugin.
- 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.
- Save and enjoy.
Compatibility
This module has been tested and used with the following relationship-oriented modules:
- Taxonomy (in core) - parent/child relationships
- References - node and user references
- Relation - references between any entities (D7 only)
- Entity reference - references between any entities (D7 only)
- Organic Groups (D7 only)
This module was developed for http://www.star-fleet.com/.