contao-bootstrap / templates
Modified Contao templates supporting Bootstrap markup
Fund package maintenance!
dmolineus
contao-bootstrap.de/mitmachen.html
Installs: 49 226
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 3
Open Issues: 2
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- contao-bootstrap/core: ^2.0.0
- contao-bootstrap/form: ^2.1.1
- contao-community-alliance/meta-palettes: ^2.0.9
- contao/core-bundle: ^4.9
- netzmacht/contao-form-designer: ^1.1.0
- netzmacht/html: ^2.0.2
- symfony/config: ~4.4 || ^5.4
- symfony/dependency-injection: ~4.4 || ^5.4
- symfony/http-kernel: ^4.4.50 || ^5.4.20
Requires (Dev)
- contao/manager-plugin: ^2.1
- doctrine/coding-standard: ^9.0
- phpcq/coding-standard: ^2.1.2
- phpcq/runner-bootstrap: 1.x-dev
Conflicts
- contao/manager-plugin: <2.1 || >= 3.0
This package is auto-updated.
Last update: 2024-11-11 06:00:47 UTC
README
Features
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_media
comment template based on the Bootstraps media component (Note: It's using gravatar.com as a third party service).member_default_bs
for the member form using bootstrap form layout.member_grouped_bs
for the member form using bootstrap form layout.mod_breadcrumb_bs
for the breadcrumb module.mod_comment_form_bs
for a bootstrap based comment form.mod_login_bs
for the login form module.mod_search_bs
for the search module.
** Always mapped **
pagination_bs
for the paginations (always mapped, even if automapping is disabled).
** Not mapped **
gallery_bs_carousel
for a gallery using the carousel.gallery_bs_grid
for a grid based gallery.nav_default
as navigation templates.rss_bs_list_group
rss feed rendered as list group.
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/templates~2.0 # Using composer directly $ php composer.phar require contao-bootstrap/templates~2.0