Skip to content

Commit

Permalink
[TASK] Switch to confvals for mod.web_layout
Browse files Browse the repository at this point in the history
* use confvals
* correct indentation
* correct header levels
* Give headers to examples

No other text changes made

releases: main, 12.4, 11.5
  • Loading branch information
github-actions[bot] authored and linawolf committed Apr 14, 2024
1 parent 4457b09 commit 4a88c0a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
36 changes: 2 additions & 34 deletions Documentation/PageTsconfig/Mod/WebLayout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,42 +65,10 @@ BackendLayouts
Example: Define a backend layout
--------------------------------

.. code-block:: typoscript
.. literalinclude:: _backendLayouts-example.tsconfig
:language: typoscript
:caption: EXT:site_package/Configuration/page.tsconfig

mod.web_layout.BackendLayouts {
exampleKey {
title = Example
icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif
config {
backend_layout {
colCount = 1
rowCount = 2
rows {
1 {
columns {
1 {
name = LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.3
colPos = 3
colspan = 1
}
}
}
2 {
columns {
1 {
name = Main
colPos = 0
colspan = 1
}
}
}
}
}
}
}
}
.. index::
defaultLanguageLabel
Localization; Default language label
Expand Down
32 changes: 32 additions & 0 deletions Documentation/PageTsconfig/Mod/_backendLayouts-example.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
mod.web_layout.BackendLayouts {
exampleKey {
title = Example
icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif
config {
backend_layout {
colCount = 1
rowCount = 2
rows {
1 {
columns {
1 {
name = LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.3
colPos = 3
colspan = 1
}
}
}
2 {
columns {
1 {
name = Main
colPos = 0
colspan = 1
}
}
}
}
}
}
}
}

0 comments on commit 4a88c0a

Please sign in to comment.