heimrichhannot / contao-tree-bundle
A contao bundle to create a tree structure like an organization chart in the contao backend and output it in the frontend.
1.1.0
2022-08-23 07:45 UTC
Requires
- php: ^7.4 || ^8.0
- contao/core-bundle: ^4.9.31
- contao/manager-plugin: ^2.0
- doctrine/dbal: ^2.12 || ^3.0
- heimrichhannot/contao-twig-support-bundle: ^1.5.9
- heimrichhannot/contao-utils-bundle: ^2.171
- symfony/event-dispatcher-contracts: ^1.0 || ^2.0 || ^3.0
This package is auto-updated.
Last update: 2024-12-23 12:37:33 UTC
README
A contao bundle to create a tree structure like an organization chart in the contao backend and output it in the frontend.
Features
- create hierarchical structures in a page structure like backend module
- output tree structure in the frontend like you want, comes with an content element and output types for list or bootstrap 4 accordions
- easily extendable: create custom tree node types and custom output type
Usage
Install
Install with composer or contao manager and update the database afterwards.
composer require heimrichhannot/contao-tree-bundle
Setup
- In Contao backend you find a new backend module tree structures within content section
- Create a root node and add child nodes as you want
- To output it in the frontend, create a Tree content element and select the created root.