Booktree

Categories

Component ID

102460

Component name

Booktree

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

22925

Component created

Component changed

Component body

A simple tree presentation of one book.

What it does is to take as input a series of Book nodes and create a tree-like structure using Book node relationships.

Usage of the module is quite simple and flexible, and options exist to set the root node, the tree depth and to shorten long titles.

Usage

Default mode

/?=booktree
or
/booktree

You must configure module in /admin/settings/booktree to specify the root node, the depth and the lenght of nodes title.

Advanced Usage
Different settings from the ones specified in the settings page can be forced by URL with the following syntax:
/?=booktree[/<root-node>[/<depth>[/<trim-length>]]]
where:

  • is the optional "root" Book node id
  • is the max tree depth
  • is the maximum length of node titles (titles longer than this will be trimmed and followed by "..."

This allows to have different book trees on the same site referring to different books.