-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] #103894 - Additional properties for columns in Page Layouts
References: TYPO3-Documentation/Changelog-To-Doc#922 Releases: main
- Loading branch information
Showing
4 changed files
with
110 additions
and
0 deletions.
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
41 changes: 41 additions & 0 deletions
41
Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.tsconfig
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,41 @@ | ||
mod.web_layout.BackendLayouts { | ||
default { | ||
title = Default | ||
config { | ||
backend_layout { | ||
colCount = 2 | ||
rowCount = 2 | ||
rows { | ||
1 { | ||
columns { | ||
1 { | ||
name = Jumbotron | ||
colPos = 1 | ||
identifier = jumbotron | ||
slideMode = slide | ||
colspan = 2 | ||
} | ||
} | ||
} | ||
|
||
1 { | ||
columns { | ||
1 { | ||
name = Left | ||
colPos = 0 | ||
identifier = left | ||
} | ||
|
||
2 { | ||
name = Right | ||
colPos = 2 | ||
identifier = right | ||
slideMode = collectReverse | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.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,9 @@ | ||
page = PAGE | ||
page { | ||
10 = PAGEVIEW | ||
10 { | ||
paths.10 = EXT:my_sitepackage/Resources/Private/Templates/ | ||
dataProcessing.10 = page-content | ||
dataProcessing.10.as = myContent | ||
} | ||
} |
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,12 @@ | ||
<f:render partial="Jumbotron" arguments="{jumbotronContent: myContent.jumbotron}"/> | ||
<main> | ||
<f:for each="{myContent.left.records}" as="contentElement"> | ||
<f:cObject typoscriptObjectPath="tt_content.{contentElement.data.CType}" | ||
data="{contentElement.data}" | ||
table="tt_content" | ||
/> | ||
</f:for> | ||
</main> | ||
<aside> | ||
<f:render partial="Aside" arguments="{content: myContent.right}"/> | ||
</aside> |