heimrichhannot / contao-bootstrapper
Adjusts contao elements & markups, to take advantage of twitter bootstrap.
Installs: 2 773
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 1
Open Issues: 2
Type:contao-module
Requires
- php: ~5.4 || ~7.0
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ^3.5.1 || ~4.1
- heimrichhannot-contao-components/fastclick: ^1.0
- heimrichhannot-contao-components/flatpickr: ^1.0
- heimrichhannot-contao-components/modernizr: ^1.0
- heimrichhannot/bootstrap: ^4.0.0
- heimrichhannot/bootstrap-select: ^1.12.3
- heimrichhannot/contao-components: ^2.0
- heimrichhannot/contao-haste_plus: >=1.4.0
- heimrichhannot/contao-multi_column_editor: ^1.4
- heimrichhannot/elegant-icons: ^1.1
- heimrichhannot/font-awesome: >=4.4,<5-dev
- dev-master
- 3.2.8-beta3
- 3.2.8-beta2
- 3.2.8-beta
- 3.2.7-beta
- 3.2.6-beta
- 3.2.5-beta
- 3.2.4-beta
- 3.2.3-beta
- 3.2.2-beta
- 3.2.1-beta
- 3.2.0-beta
- 3.1.1-beta
- 3.1.0-beta
- 3.0.15-beta
- 3.0.14-beta
- 3.0.13-beta
- 3.0.12-beta
- 3.0.11-beta
- 3.0.10-beta
- 3.0.9-beta
- 3.0.8-beta
- 3.0.7-beta
- 3.0.6-beta
- 3.0.5-beta
- 3.0.4-beta
- 3.0.3-beta
- 3.0.2-beta
- 3.0.1-beta
- 3.0.0-beta
- v2.x-dev
- 2.1.10-alpha
- 2.1.9-alpha
- 2.1.8-alpha
- 2.1.7-alpha
- 2.1.6-alpha
- 2.1.5-alpha
- 2.1.4-alpha
- 2.1.3-alpha
- 2.1.2-alpha
- 2.1.1-alpha
- 2.1.0-alpha
- 2.0.40-alpha
- 2.0.39-alpha
- 2.0.38-alpha
- 2.0.37-alpha
- 2.0.36-alpha
- 2.0.35-alpha
- 2.0.34-alpha
- 2.0.33-alpha
- 2.0.32-alpha
- 2.0.31-alpha
- 2.0.30-alpha
- 2.0.29-alpha
- 2.0.28-alpha
- 2.0.27-alpha
- 2.0.26-alpha
- 2.0.25-alpha
- 2.0.24-alpha
- 2.0.23-alpha
- 2.0.22-alpha
- 2.0.21-alpha
- 2.0.20-alpha
- 2.0.19-alpha
- 2.0.18-alpha
- 2.0.17-alpha
- 2.0.16-alpha
- 2.0.15-alpha
- 2.0.14-alpha
- 2.0.13-alpha
- 2.0.12-alpha
- 2.0.11-alpha
- 2.0.10-alpha
- 2.0.9-alpha
- 2.0.8-alpha
- 2.0.7-alpha
- 2.0.6-alpha
- 2.0.5-alpha
- 2.0.4-alpha
- 2.0.3-alpha
- 2.0.2-alpha
- 2.0.1-alpha
- 2.0.0-alpha
- v1.x-dev
- 1.5.17
- 1.5.16
- 1.5.15
- 1.5.14
- 1.5.13
- 1.5.12
- 1.5.11
- 1.5.10
- 1.5.9
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.12
- 1.4.11
- 1.4.10
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.19
- 1.3.18
- 1.3.17
- 1.3.16
- 1.3.15
- 1.3.14
- 1.3.13
- 1.3.12
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.21
- 1.2.20
- 1.2.19
- 1.2.18
- 1.2.17
- 1.2.16
- 1.2.15
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.88
- 1.1.87
- 1.1.86
- 1.1.85
- 1.1.84
- 1.1.83
- 1.1.82
- 1.1.81
- 1.1.80
- 1.1.78
- 1.1.77
- 1.1.76
- 1.1.75
- 1.1.74
- 1.1.73
- 1.1.72
- 1.1.71
- 1.1.70
- 1.1.69
- 1.1.68
- 1.1.67
- 1.1.66
- 1.1.65
- 1.1.64
- 1.1.63
- 1.1.62
- 1.1.61
- 1.1.60
- 1.1.59
- 1.1.58
- 1.1.57
- 1.1.56
- 1.1.55
- 1.1.54
- 1.1.53
- 1.1.52
- 1.1.51
- 1.1.50
- 1.1.49
- 1.1.48
- 1.1.47
- 1.1.46
- 1.1.45
- 1.1.44
- 1.1.43
- 1.1.42
- 1.1.41
- 1.1.40
- 1.1.39
- 1.1.38
- 1.1.37
- 1.1.36
- 1.1.35
- 1.1.34
- 1.1.33
- 1.1.32
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-10-12 18:16:52 UTC
README
Contao external CSS & JS assets groups with bootstrap and font-awesome support.
Features
- Adds the bootstrap-slider as inputType to the FE
Form/EFG
- Supports Ajax Form Handling. Support Messages can be easily configured inside the form, within a custom group like fieldsets.
Module
ModuleNewsReader
- Display news details as contao of bootstrap modal window, if selected news_full_modal.html5 template
Bootstrapper components
Default components
Disable in Page-layout, if you dont want to use these components.
- [bootstrap-select] (https://github.com/silviomoreto/bootstrap-select) : styled select input with live-search, groups and mobile support - boostrap.js is required, Extassets\ExtJs group with added bootstrapper.js should be added to tl_layout
- [bootstrap-flatpickr] (https://github.com/chmln/flatpickr) : styled datepicker with time and datepicker inclduing native support on mobile devices
- [bootstrap-slider] (https://github.com/seiyria/bootstrap-slider) : input slider with ranged slider support
- [bootstrap-tooltips] (http://getbootstrap.com/javascript/#tooltips) : auto-initialize default bootstrap tooltips
[data-toggle="tooltip"]
- boostrap.js is required, Extassets\ExtJs group with added bootstrapper.js should be added to tl_layout - scroll-smooth : Scroll smooth to anchor targets
bootstrap-scroll-smooth
If you want to set an offset, for example for a fixed header, you can provide data-scroll-smooth-offset
at you body element within fe_page.html5
You can provide both integers or multiple element selectors, do calculate the offset height, that should be subtracted from the target offset.
Selectors have the advantage, that in case you have a responsive website, the offset updates from its element height.
You are able to set the animation duration by adding data-scroll-smooth-duration
to the body element and data-scroll-smooth-easing
for the easing function.
Example - Integer:
<body data-scroll-smooth-offset="150" data-scroll-smooth-duration="slow" data-scroll-smooth-easing="swing" id="top">
<div id="header"></header>
</body>
Example - Selectors:
<body data-scroll-smooth-offset="#header,#highlight" data-scroll-smooth-duration="slow" data-scroll-smooth-easing="swing" id="top">
<div id="header"></header>
<div id="highlight"></header>
</body>
Bootstrapper form field eval extension
Flatpickr (datepicker) data attributes
Example 1: Flatpickr (datepicker only with linked picker)
<div class="form-group datepicker">
<input type="text" id="f_datepicker" name="f[datepicker]" placeholder="von" data-date-format="d.m.Y" data-moment-date-format="DD.MM.YYYY" data-linked-end="#f_datepicker_range" class="form-control" value="16.11.2017">
</div>
Example 2: Flatpickr (datepicker with timepicker)
<div class="form-group datepicker datimepicker">
<input type="text" id="f_datepicker" name="f[datepicker]" placeholder="von" data-enable-time="true" data-date-format="d.m.Y H:i" data-moment-date-format="DD.MM.YYYY HH:mm" class="form-control" value="16.11.2017 14:28">
</div>
Example 3: Flatpickr (timepicker)
<div class="form-group timepicker">
<input type="text" id="f_datepicker" name="f[datepicker]" placeholder="von" data-enable-time="true" data-no-calendar="true" data-date-format="H:i" data-moment-date-format="HH:mm" class="form-control" value="14:28">
</div>
Bootstrapper input slider eval extension
Bootstrapper form field callbacks
Bootstrapper inserttags
Form templates
- Naming convention for custom form field templates is defined as:
bootstrapper_form_[type]_[name of your form field].html5
e.g. "bootstrapper_form_upload_myfiles.html"