diff --git a/Documentation/PageTsconfig/Mod/WebLayout/BackendLayout.rst b/Documentation/PageTsconfig/Mod/WebLayout/BackendLayout.rst index 63978ee..5b8ad48 100644 --- a/Documentation/PageTsconfig/Mod/WebLayout/BackendLayout.rst +++ b/Documentation/PageTsconfig/Mod/WebLayout/BackendLayout.rst @@ -84,6 +84,32 @@ package (GitHub) `, + such as "main", "sidebar" or "footerArea". + + .. confval:: slideMode + :name: mod-web-layout-BackendLayouts-backendLayout-title-config-backend_layout-rows-row-columns-col-slideMode + :type: string, "" (empty string), "slide", "collect", "collectReverse" + + An identifier that can will be used by the page content + DataProcessor to identify the content elements within this + area. + + `slide` + If no content is found, check the parent pages for more content + `collect` + Use all content from this page, and the parent pages as one collection + `collectReverse` + Same as "collect" but in the opposite order + .. confval:: colspan :name: mod-web-layout-BackendLayouts-backendLayout-title-config-backend_layout-rows-row-columns-col-colspan :type: integer, 1 - :confval:`mod-web-layout-BackendLayouts-backendLayout-title-config-backend_layout.colCount` @@ -97,3 +123,25 @@ package (GitHub) ` and the DataProcessor +`page-content`. + +.. todo: Link Dataprocessor + +.. literalinclude:: _BackendLayout.typoscript + :caption: config/sites/my-site/setup.typoscript + +Use the identifiers of the columns in the Fluid template: + +.. literalinclude:: _Default.html + :caption: EXT:my_sitepackage/Resources/Private/Templates/Pages/Default.html diff --git a/Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.tsconfig b/Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.tsconfig new file mode 100644 index 0000000..2891fd1 --- /dev/null +++ b/Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.tsconfig @@ -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 + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.typoscript b/Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.typoscript new file mode 100644 index 0000000..3c00eb5 --- /dev/null +++ b/Documentation/PageTsconfig/Mod/WebLayout/_BackendLayout.typoscript @@ -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 + } +} diff --git a/Documentation/PageTsconfig/Mod/WebLayout/_Default.html b/Documentation/PageTsconfig/Mod/WebLayout/_Default.html new file mode 100644 index 0000000..b4d7dca --- /dev/null +++ b/Documentation/PageTsconfig/Mod/WebLayout/_Default.html @@ -0,0 +1,12 @@ + +
+ + + +
+