Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Thejuse committed Jan 9, 2019
2 parents 562b3e0 + 209a24e commit 794c7cb
Show file tree
Hide file tree
Showing 17 changed files with 1,490 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
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
47 changes: 46 additions & 1 deletion README.md
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/)
1 change: 1 addition & 0 deletions bootstrap_gridelements/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions bootstrap_gridelements/Configuration/PageTS/PageTS.typoscript
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
}
}
}
}
}
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<INCLUDE_TYPOSCRIPT: source="FILE: ./Library/gridelements.typoscript">
11 changes: 11 additions & 0 deletions bootstrap_gridelements/Resources/Private/.htaccess
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>
Loading

0 comments on commit 794c7cb

Please sign in to comment.