-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
1,490 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [1.0.0] - 2019-01-09 | ||
- Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,46 @@ | ||
# bootstrap_gridelements | ||
# bootstrap_gridelements | ||
> TYPO3 Extension for adding Bootstrap 4 Grid to GridElements | ||
## Features | ||
- Elements for 2, 3, 4 Columns | ||
- English and German Translation | ||
- TYPO3 8 & 9 | ||
- Documentantion | ||
|
||
## Usage | ||
### Installation | ||
|
||
#### Installation as extension from TYPO3 Extension Repository (TER) (recomened) | ||
Download and install the extension with the extension manager module. | ||
|
||
#### Manual Installation (FTP required) | ||
|
||
- Download extension via GitHub or [TYPO3-Ter](https://extensions.typo3.org/extension/bootstrap_gridelements/) | ||
- Go to your FTP and navigate to `/typo3conf/ext/` and upload the bootstrap_gridelements folder there | ||
|
||
### Minimal Setup | ||
|
||
1. Activate Extension in Extensionmanager | ||
2. Include the static TypoScript of the extension and Gridelements | ||
3. Gridelements must be above the bootstrap_gridelements extension | ||
|
||
## Administartion corner | ||
|
||
### Versions and support | ||
|
||
| bootstrap_gridelements | TYPO3 | PHP | Support/Development | | ||
| ---------------------- | ------------ | --------- | ------------------------------------ | | ||
| 1.x | 8.7.x - 9.x | 7.0 - 7.3 | Features, Bugfixes, Security updates | | ||
|
||
### Changelog | ||
|
||
Please look [here in the changelog.md](https://github.com/Thejuse/bootstrap_gridelements/blob/master/CHANGELOG.md) | ||
|
||
### Release Management | ||
bootstrap_gridelements uses semantic versioning which basically means for you, that | ||
|
||
- **bugfix update**s (e.g. 1.0.0 => 1.0.1) just includes small bugfixes or security relevant stuff without breaking changes. | ||
- **minor updates** (e.g. 1.0.0 => 1.1.0) includes new features and smaller tasks without breaking changes. | ||
- **major updates** (e.g. 1.0.0 => 2.0.0) breaking changes wich can be refactorings, features or bugfixes. | ||
|
||
© 2019 [Koerbler. - Digital Erfolgreich!](https://www.koerbler.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/vendor/ |
228 changes: 228 additions & 0 deletions
228
bootstrap_gridelements/Configuration/GridElements/bootstrap_4_columns_2col.xml
Large diffs are not rendered by default.
Oops, something went wrong.
320 changes: 320 additions & 0 deletions
320
bootstrap_gridelements/Configuration/GridElements/bootstrap_4_columns_3col.xml
Large diffs are not rendered by default.
Oops, something went wrong.
412 changes: 412 additions & 0 deletions
412
bootstrap_gridelements/Configuration/GridElements/bootstrap_4_columns_4col.xml
Large diffs are not rendered by default.
Oops, something went wrong.
87 changes: 87 additions & 0 deletions
87
bootstrap_gridelements/Configuration/PageTS/PageTS.typoscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
tx_gridelements.setup.uebb_bootstrap_2col { | ||
title = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.col2.title | ||
description = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.col2.description | ||
flexformDS = FILE:EXT:bootstrap_gridelements/Configuration/GridElements/bootstrap_4_columns_2col.xml | ||
|
||
config { | ||
colCount = 2 | ||
rowCount = 1 | ||
|
||
rows { | ||
1 { | ||
columns { | ||
1 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col1 | ||
colPos = 0 | ||
} | ||
2 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col2 | ||
colPos = 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
tx_gridelements.setup.uebb_bootstrap_3col { | ||
title = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.col3.title | ||
description = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.col3.description | ||
flexformDS = FILE:EXT:bootstrap_gridelements/Configuration/GridElements/bootstrap_4_columns_3col.xml | ||
|
||
config { | ||
colCount = 3 | ||
rowCount = 1 | ||
|
||
rows { | ||
1 { | ||
columns { | ||
1 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col1 | ||
colPos = 0 | ||
} | ||
2 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col2 | ||
colPos = 1 | ||
} | ||
3 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col3 | ||
colPos = 2 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
tx_gridelements.setup.uebb_bootstrap_4col { | ||
title = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.col4.title | ||
description = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.col4.description | ||
flexformDS = FILE:EXT:bootstrap_gridelements/Configuration/GridElements/bootstrap_4_columns_4col.xml | ||
|
||
config { | ||
colCount = 4 | ||
rowCount = 1 | ||
|
||
rows { | ||
1 { | ||
columns { | ||
1 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col1 | ||
colPos = 0 | ||
} | ||
2 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col2 | ||
colPos = 1 | ||
} | ||
3 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col3 | ||
colPos = 2 | ||
} | ||
4 { | ||
name = LLL:EXT:bootstrap_gridelements/Resources/Private/Language/locallang.xlf:col.name.col4 | ||
colPos = 3 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
142 changes: 142 additions & 0 deletions
142
bootstrap_gridelements/Configuration/TypoScript/Library/gridelements.typoscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
plugin.tx_gridelements_pi1.setup.uebb_bootstrap_2col { | ||
|
||
preCObject = LOAD_REGISTER | ||
preCObject { | ||
containerClasses.cObject = COA | ||
containerClasses.cObject { | ||
10 = TEXT | ||
10 { | ||
field = flexform_visibility_element | ||
noTrimWrap = | || | ||
split { | ||
token = , | ||
cObjNum = 1 | ||
1.current = 1 | ||
1.noTrimWrap = | || | ||
} | ||
} | ||
|
||
stdWrap.insertData = 1 | ||
stdWrap.trim = 1 | ||
} | ||
|
||
containerAttributes.cObject = COA | ||
containerAttributes.cObject { | ||
10 = TEXT | ||
10 { | ||
data = register: containerClasses | ||
noTrimWrap = | class="row |"| | ||
} | ||
} | ||
} | ||
|
||
outerWrap = <div{register: containerAttributes}> | </div> | ||
outerWrap.insertData = 1 | ||
|
||
columns.0 { | ||
|
||
preCObject = LOAD_REGISTER | ||
preCObject { | ||
contentColumnClass.cObject = COA | ||
contentColumnClass.cObject { | ||
10 = TEXT | ||
10 { | ||
field = flexform_width_column_xs_1 | ||
noTrimWrap = || | | ||
required = 1 | ||
} | ||
|
||
11 = TEXT | ||
11 { | ||
field = flexform_width_column_sm_1 | ||
noTrimWrap = || | | ||
required = 1 | ||
} | ||
|
||
12 = TEXT | ||
12 { | ||
field = flexform_width_column_md_1 | ||
noTrimWrap = || | | ||
required = 1 | ||
} | ||
|
||
13 = TEXT | ||
13 { | ||
field = flexform_width_column_lg_1 | ||
noTrimWrap = || | | ||
required = 1 | ||
} | ||
|
||
20 = TEXT | ||
20 { | ||
field = flexform_visibility_col1 | ||
noTrimWrap = | || | ||
split { | ||
token = , | ||
cObjNum = 1 | ||
1.current = 1 | ||
1.noTrimWrap = | || | ||
} | ||
} | ||
|
||
stdWrap.noTrimWrap = | class="|"| | ||
} | ||
} | ||
|
||
outerWrap = <div{register: contentColumnClass}> | </div> | ||
outerWrap.insertData = 1 | ||
|
||
renderObj =< tt_content | ||
} | ||
|
||
columns.1 < .columns.0 | ||
columns.1 { | ||
preCObject { | ||
contentColumnClass.cObject { | ||
10.field = flexform_width_column_xs_2 | ||
11.field = flexform_width_column_sm_2 | ||
12.field = flexform_width_column_md_2 | ||
13.field = flexform_width_column_lg_2 | ||
20.field = flexform_visibility_col2 | ||
} | ||
} | ||
} | ||
} | ||
|
||
plugin.tx_gridelements_pi1.setup.uebb_bootstrap_3col < plugin.tx_gridelements_pi1.setup.uebb_bootstrap_2col | ||
plugin.tx_gridelements_pi1.setup.uebb_bootstrap_3col { | ||
columns.2 < .columns.0 | ||
columns.2 { | ||
preCObject { | ||
contentColumnClass.cObject { | ||
10.field = flexform_width_column_xs_3 | ||
11.field = flexform_width_column_sm_3 | ||
12.field = flexform_width_column_md_3 | ||
13.field = flexform_width_column_lg_3 | ||
20.field = flexform_visibility_col3 | ||
} | ||
} | ||
} | ||
} | ||
|
||
plugin.tx_gridelements_pi1.setup.uebb_bootstrap_4col < plugin.tx_gridelements_pi1.setup.uebb_bootstrap_3col | ||
plugin.tx_gridelements_pi1.setup.uebb_bootstrap_4col { | ||
columns.3 < .columns.0 | ||
columns.3 { | ||
preCObject { | ||
contentColumnClass.cObject { | ||
10.field = flexform_width_column_xs_4 | ||
11.field = flexform_width_column_sm_4 | ||
12.field = flexform_width_column_md_4 | ||
13.field = flexform_width_column_lg_4 | ||
20.field = flexform_visibility_col4 | ||
} | ||
} | ||
} | ||
} | ||
|
||
tt_content.gridelements_pi1.20.10.setup { | ||
uebb_bootstrap_2col < plugin.tx_gridelements_pi1.setup.uebb_bootstrap_2col | ||
uebb_bootstrap_3col < plugin.tx_gridelements_pi1.setup.uebb_bootstrap_3col | ||
uebb_bootstrap_4col < plugin.tx_gridelements_pi1.setup.uebb_bootstrap_4col | ||
} |
Empty file.
1 change: 1 addition & 0 deletions
1
bootstrap_gridelements/Configuration/TypoScript/setup.typoscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<INCLUDE_TYPOSCRIPT: source="FILE: ./Library/gridelements.typoscript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Apache < 2.3 | ||
<IfModule !mod_authz_core.c> | ||
Order allow,deny | ||
Deny from all | ||
Satisfy All | ||
</IfModule> | ||
|
||
# Apache >= 2.3 | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> |
Oops, something went wrong.