Bootstrap panel component for Contao CMS

2.2.0 2022-10-17 08:19 UTC

README

Version GitHub issues License Build Status Downloads

This extension provides Bootstrap integration into Contao.

Contao-Bootstrap is a modular integration. This extension provides the bootstrap panel into Contao. It uses the default accordion element of Contao and extends it with an accordeon group element.

Changelog

See changelog

Requirements

  • PHP ^7.4 || ^8.0
  • Contao ^4.9

Install

Managed edition

When using the managed edition it's pretty simple to install the package. Just search for the package in the Contao Manager and install it. Alternatively you can use the CLI.

# Using the contao manager
$ php contao-manager.phar.php composer require contao-bootstrap/panel~2.0

# Using composer directly
$ php composer.phar require contao-bootstrap/panel~2.0

Symfony application

If you use Contao in a symfony application without contao/manager-bundle, you have to register following bundles manually:

class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('metapalettes', $this->getRootDir()),
            new Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle(),
            new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
            new ContaoBootstrap\Grid\ContaoBootstrapPanelBundle()
        ];
    }
}