Giter Site home page Giter Site logo

contao-node's Introduction

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

Still using Haste 4?

If you are still using Haste 4 in your projects, you should require the bundle as follows to get all new bugfixes:

composer require terminal42/contao-node:^1.5.10

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!

Contao non-managed edition

If you don't use the Contao managed edition, additionally you have to configure the tags bundle on your app-level:

# config/config.yml
codefog_tags:
    managers:
        terminal42_node:
            source: 'tl_node.tags'

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}}

contao-node's People

Contributors

qzminski avatar aschempp avatar toflar avatar fritzmg avatar scuben avatar dennisbohn avatar jankout avatar rabauss avatar ameotoko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.