Bootstrap 4 Contao Layout Component
Clone or download
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.
spec/ContaoBootstrap/Layout/ContaoManager
src
.check-author.yml
.composer-require-checker.json
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
build.default.properties
build.xml
composer.json
phpspec.yml

README.md

Contao-Bootstrap Layout

Version GitHub issues License Build Status Downloads

This extension provides Bootstrap integration into Contao.

Contao-Bootstrap is a modular integration. The layout component allows to define a grid based layout using the backend layout editor.

Features

  • Grid based layouts
  • Auto replace defined css classes
  • Auto replace image and table classes

Changelog

See changelog

Requirements

  • PHP 7.1
  • Contao ~4.4

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/layout~2.0@beta

# Using composer directly
$ php composer.phar require contao-bootstrap/layout~2.0@beta

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 ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
            new Netzmacht\Html\NetzmachtHtmlBundle(),
            new ContaoBootstrap\Layout\ContaoBootstrapLayoutBundle(),
        ];
    }
}