contao-bootstrap / navbar
Bootstrap navbar component for Contao CMS
Fund package maintenance!
dmolineus
contao-bootstrap.de/mitmachen.html
Installs: 44 485
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 6
Open Issues: 7
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- contao-bootstrap/core: ^2.0
- contao-community-alliance/meta-palettes: ^2.0
- contao/core-bundle: ^4.9
- menatwork/contao-multicolumnwizard-bundle: ^3.4
- netzmacht/contao-toolkit: ^3.7
- netzmacht/html: ^2.0.2
- symfony/config: ^4.4 || ^5.4
- symfony/dependency-injection: ^4.4 || ^5.4
- symfony/http-foundation: ^4.4 || ^5.4
- symfony/http-kernel: ^4.4 || ^5.4
- symfony/routing: ^4.4 || ^5.4
- symfony/translation-contracts: ^1.1 || ^2.0
Requires (Dev)
- contao/manager-plugin: ^2.0
- doctrine/coding-standard: ^9.0.
- phpcq/coding-standard: ^2.1.2
- phpcq/plugin-api: 1.x-dev
- phpcq/runner-bootstrap: 1.x-dev
Conflicts
This package is auto-updated.
Last update: 2024-11-20 15:50:25 UTC
README
This extension provides Bootstrap integration into Contao.
Contao-Bootstrap is a modular integration. The components provides navigation features of the Bootstrap component.
Features
Frontend modules
- Navbar element
Templates
- Dropdown templates for quicknav and quicklink navigation
- Navigation dropdown template
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/navbar~2.0 # Using composer directly $ php composer.phar require contao-bootstrap/navbar~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 Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('multicolumnwizard', $this->getRootDir()), new Netzmacht\Html\NetzmachtHtmlBundle(), new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(), new ContaoBootstrap\Grid\ContaoBootstrapNavbarBundle() ]; } }