Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[TASK] update/fix GridElements templates and TS
  • Loading branch information
dmh committed Apr 13, 2017
1 parent e99d657 commit 489a718
Show file tree
Hide file tree
Showing 25 changed files with 140 additions and 407 deletions.
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/2ColumnGrid.setupts
Expand Up @@ -22,29 +22,8 @@ lib.gridelements {
file = EXT:theme_t3kit/Resources/Private/Templates/GridElements/2ColumnGrid.html
dataProcessing {
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/3ColumnGrid.setupts
Expand Up @@ -23,29 +23,8 @@ lib.gridelements {
file = EXT:theme_t3kit/Resources/Private/Templates/GridElements/3ColumnGrid.html
dataProcessing {
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/4ColumnGrid.setupts
Expand Up @@ -24,29 +24,8 @@ lib.gridelements {
file = EXT:theme_t3kit/Resources/Private/Templates/GridElements/4ColumnGrid.html
dataProcessing {
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
32 changes: 5 additions & 27 deletions Configuration/GridElements/TypoScript/Adv1ColumnGrid.setupts
@@ -1,7 +1,7 @@
lib.gridelements {
layoutRootPaths {
1913 = EXT:fluid_styled_content/Resources/Private/Layouts/
}
# layoutRootPaths {
# 1913 = EXT:fluid_styled_content/Resources/Private/Layouts/
# }
Adv1ColumnGrid < .defaultGridSetup
Adv1ColumnGrid {
columns.0 {
Expand Down Expand Up @@ -84,30 +84,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
13 = footer__bottom
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/Collapsible.setupts
Expand Up @@ -25,29 +25,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/CollapsibleGroup.setupts
Expand Up @@ -25,29 +25,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
27 changes: 3 additions & 24 deletions Configuration/GridElements/TypoScript/Parallax.setupts
Expand Up @@ -13,7 +13,7 @@ lib.gridelements {
cObject {
layoutRootPaths {
20 = EXT:fluid_styled_content/Resources/Private/Layouts
# 30 = EXT:theme_t3kit/Resources/Private/Layouts/GridElements
30 = EXT:theme_t3kit/Resources/Private/Layouts/GridElements
}
partialRootPaths {
20 = EXT:fluid_styled_content/Resources/Private/Partials
Expand All @@ -25,29 +25,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/SimpleAccordion.setupts
Expand Up @@ -25,29 +25,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/SliderContainer.setupts
Expand Up @@ -25,29 +25,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
26 changes: 2 additions & 24 deletions Configuration/GridElements/TypoScript/TabGroup.setupts
Expand Up @@ -25,7 +25,6 @@ lib.gridelements {
variables {
activeUid = TEXT
activeUid.field = data.tx_gridelements_view_children.0.uid
#activeUid = adlködöl
}
layoutRootPaths {
20 = EXT:fluid_styled_content/Resources/Private/Layouts
Expand All @@ -41,29 +40,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
25 changes: 2 additions & 23 deletions Configuration/GridElements/TypoScript/Tabs.setupts
Expand Up @@ -84,29 +84,8 @@ lib.gridelements {
references.fieldName = media
}
# "inherit" from lib.fluidContent
365 < lib.fluidContent.dataProcessing.365
375 < lib.fluidContent.dataProcessing.375
385 < lib.fluidContent.dataProcessing.385
395 < lib.fluidContent.dataProcessing.395

# extend "wrapper" class mapping only for GridElements
365 {
classMappings {
11 = gridelements-example-wrapper-1
12 = gridelements-example-wrapper-2
}
}


1910 < lib.fluidContent.dataProcessing.1910

# extend "layout" class mapping only for GridElements
1910 {
classMappings {
11 = gridelements-example-layout-1
12 = gridelements-example-layout-2
}
}
800 < lib.contentElement.dataProcessing.800
830 < lib.contentElement.dataProcessing.830
}
}
}
Expand Down
5 changes: 2 additions & 3 deletions Resources/Private/Templates/GridElements/2ColumnGrid.html
@@ -1,6 +1,5 @@
<f:layout name="HeaderContentFooter" />

<f:section name="content">
<f:layout name="Default" />
<f:section name="Main">
<f:comment><!-- ### Content ### --></f:comment>
<div class="row">
<div class="col-md-6">
Expand Down
5 changes: 2 additions & 3 deletions Resources/Private/Templates/GridElements/3ColumnGrid.html
@@ -1,6 +1,5 @@
<f:layout name="HeaderContentFooter" />

<f:section name="content">
<f:layout name="Default" />
<f:section name="Main">
<f:comment><!-- ### Content ### --></f:comment>
<div class="row">
<div class="col-md-4">
Expand Down

0 comments on commit 489a718

Please sign in to comment.