Provides a tree-based style plugin for Views.
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.
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
- Entity reference (in core) - references between any entities
- References - node and user references
- Organic Groups
Install
Install this module using the official Backdrop CMS instructions at
https://backdropcms.org/guide/modules.
License
This project is GPL v2 software. See the LICENSE.txt file in this
directory for complete text.
Current Maintainers
- Herb v/d Dool
- Martin Jones
- Seeking new maintainers
Credit
Ported from Drupal 7 by Martin Jones and
Herb v/d Dool.