Contao 4 custom content elements
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
LICENSE
README.md
UPGRADE.md
composer.json

README.md

Custom content elements for Contao 4

Version License Downloads

About

Create your own content elements with individual input fields.

Almost any input mask for content elements can be created, from very simple text entries to complex input structures with a choice of images, pages and various options.

Custom content elements consist of a template and any number of patterns that provide the various input fields. The patterns can be configured in such a way that they give the content data to the template, where it can be output into any corresponding HTML structure.

This makes it possible to implement both simple widgets (such as 'hero images') and extensive information boards (like 'team pages' with names, e-mails, numbers and addresses of the employees). And all the content can be accessed in a simple and elegant way.

Notice

There was a complete database redesign from Version 1.x to 2.x. A direct upgrade is not possible and all custom content elements must be re-created.

Install

Contao manager

Search for the package and install it

agoat/contao-customcontentelements

Managed edition

Add the package

# Using the composer
composer require agoat/contao-customcontentelements

Registration and configuration is done by the manager-plugin automatically.

Standard edition

Add the package

# Using the composer
composer require agoat/contao-customcontentelements

Register the bundle in the AppKernel

# app/AppKernel.php
class AppKernel
{
    // ...
    public function registerBundles()
    {
        $bundles = [
            // ...
            // after Contao\CoreBundle\ContaoCoreBundle
            new Agoat\CustomContentElementsBundle\AgoatCustomContentElementsBundle(),
        ];
    }
}