Download the PHP package syntro/silverstripe-elemental-bootstrap without Composer
On this page you can find all versions of the php package syntro/silverstripe-elemental-bootstrap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download syntro/silverstripe-elemental-bootstrap
More information about syntro/silverstripe-elemental-bootstrap
Files in syntro/silverstripe-elemental-bootstrap
Package silverstripe-elemental-bootstrap
Short Description Silverstripe Elemental extension for Bootstrap-Blocks
License BSD-3-Clause
Informations about the package silverstripe-elemental-bootstrap
Silverstripe Elemental Bootstrap
This project is still a work-in-progress and will be improved over time. If you feel something is missing, feel free to open an issue or a pull request
This module takes the dnadesign/silverstripe-elemental module and uses it to simplify bootstrap layouting.
Grid Layout
Bootstrap is built around its grid layout. Using this grid gives a content-editor who has experience with bootstrap a very powerful tool to create responsive layouts.
Usage:
Installation
For installation details, see the docs.
Adding Additional Elements
Additional or custom elements can be added by extending the BootstrapElement
class. Extending this class ensures the correct handling of positioning in
the grid-layout:
You can also use the BootstrapExtension
extension on a class extending the
original elemental classes to achieve the same result.
In the Template, make sure to include the bootstrap classes correctly as seen
in the BootstrapImage
block:
use isCol()
to determine wether the parent object is a column (in this case,
no layout classes are to be rendered).
All versions of silverstripe-elemental-bootstrap with dependencies
silverstripe/asset-admin Version ^1.3
dnadesign/silverstripe-elemental Version ^4
dnadesign/silverstripe-elemental-list Version ^1.2