Skip to content
Manage content centrally as nodes and reuse them everywhere.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Introduce README May 20, 2019
src Fix an error when there are no nodes and the node-related record is s… Jul 1, 2019
.gitignore Initial commit Nov 23, 2018
.php_cs Initial commit Nov 23, 2018
README.md add insert tags to README Jul 1, 2019
composer.json Added the tags Jan 8, 2019

README.md

Node bundle for Contao Open Source CMS

This bundle provides a new way for Contao to manage content elements that are common for multiple pages.

Installation

Install the bundle via Composer:

composer require terminal42/contao-node

Configuration

Once installed, you can start creating groups and nodes in the Content > Nodes backend module. Roughly said they work similar to articles – each node can have multiple content elements.

You can then display those nodes in the front end using either the Nodes front end module or content element. Both of them allow you to select either one or multiple nodes and order them.

To better organize nodes you can specify the languages the respective content elements were written in and use arbitrary tags to be able to quickly filter and find them again. Both the languages as well as the tags don't have any influence on the front end but can help you to manage your content in an efficient way.

Thanks to the Contao picker, finding the correct node is as easy as it can get!

Insert Tags

The extension also provides two new insert tags: {{insert_node::*}} and {{insert_nodes::*}}. The former expects the ID of a node and will then generate the output of that node. The latter expects a comma separated list of node IDs and will then generate the output of all those nodes. Example: {{insert_nodes::1,2,3}}

You can’t perform that action at this time.