Provides Bootstrap components as blocks.
HOW TO INSTALL:
- Requires Bootsrap 5 library to be loaded, as may be provided by the
Bootsrap 5 lite theme, for
example. This module does not load the library.
- Install this module using the official Backdrop CMS instructions at
The following blocks are provided:
- Single Card
- Card Group
- Card Grid
- Image Card
- Vertical Tabs
Simply add one (or more) of these blocks to your layout.
The Accordion, Card Group, Card Grid, Tabs, and Vertical Tabs allow to click to
add multiple sets of tabs/cards in the block configuration form in layouts. To
delete a tab/card, delete all its contents as empty cards are removed.
The ability to re-position tabs/cards is not implemented.
The tabs/cards forms provide fields for:
- Content area
- Content area title
Single image cards allow image upload within the form.
To create an image card
within a card group, the URL to the image can be types into the Card Header
field using the prefix
url::. This will render an image at that URL if it is
full path (for example with
http:// prefixed) or otherwise, the image must be
in your public files folder.
url::http://remote-site.com/image-path.image.pngwill display the image
from that URL.
url::image-path/image.pngwill work if there is such an image at that path
in the public files folder of your installation.
This project is GPL v2 software. See the LICENSE.txt file in this directory
for complete text.
Inspired by, and code samples from, Bootstrap Blocks Italia: