This extension provides Bootstrap integration into Contao.
Contao-Bootstrap is a modular integration. The components provides navigation features of the Bootstrap component.
Frontend modules
- Navbar element
Templates
- Dropdown templates for quicknav and quicklink navigation
- Navigation dropdown template
See changelog
- PHP ^8.1
- Contao ^4.13 || ^5.3
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/navbar ^3.0
# Using composer directly
$ php composer.phar require contao-bootstrap/navbar ^3.0
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 \ContaoCommunityAlliance\MetaPalettes\CcaMetaPalettesBundle(),
new \Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle(),
new \Mvo\ContaoGroupWidget\MvoContaoGroupWidgetBundle(),
new \Netzmacht\Html\NetzmachtHtmlBundle(),
new \ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
new \ContaoBootstrap\Grid\ContaoBootstrapNavbarBundle()
];
}
}