This extension provides several Bootstrap 4 based templates Contao CMS.
It's possible to use this extension in an installation where the default templates are required. To avoid wrong templates being loaded theres a feature called template automapping. Each bootstrap template has a different name (usually _bs) prefix than the default one. On runtime the template name get changed so you don't have to select the modified templates everywhere.
The automapping is only active if a page layout has the type bootstrap and you did not disable the automapping in the theme settings.
Following templates are provided:
** With configurable automapping **
com_bs_mediacomment template based on the Bootstraps media component (Note: It's using gravatar.com as a third party service).
member_default_bsfor the member form using bootstrap form layout.
member_grouped_bsfor the member form using bootstrap form layout.
mod_breadcrumb_bsfor the breadcrumb module.
mod_comment_form_bsfor a bootstrap based comment form.
mod_login_bsfor the login form module.
mod_search_bsfor the search module.
** Always mapped **
pagination_bsfor the paginations (always mapped, even if automapping is disabled).
** Not mapped **
gallery_bs_carouselfor a gallery using the carousel.
gallery_bs_gridfor a grid based gallery.
nav_defaultas navigation templates.
rss_bs_list_grouprss feed rendered as list group.
- PHP 7.1
- Contao ~4.4
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/templates~2.0 # Using composer directly $ php composer.phar require contao-bootstrap/templates~2.0