Skip to content

Commit 3570ead

Browse files
committed
[BUGFIX] Use correct configuration keys for documentation
Change-Id: I79758237f08d3a6de17e51e23072ba758c454627 Resolves: #85448 Releases: master, 8-0 Reviewed-on: https://review.typo3.org/59073 Reviewed-by: Jo Hasenau <[email protected]> Tested-by: Jo Hasenau <[email protected]>
1 parent 674f52a commit 3570ead

File tree

1 file changed

+35
-11
lines changed

1 file changed

+35
-11
lines changed

Documentation/Chapters/GridTsSyntax/Index.rst

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,42 @@ Step by step:
4040
Start with the number of columns and rows
4141
"""""""""""""""""""""""""""""""""""""""""
4242

43-
Go to the **Configuration** tab of the layout record and edit the
44-
**Grid Configuration** there. The wrapper for the whole block is the
45-
same as for pages: **backend\_layout** – Use the keys **colCount**
46-
and **rowCount** to create the basic grid structure. Both values
47-
should be at least the lowest common multiple of the column sizes you
48-
want to create. They represent the actual grid behind the cell
49-
structure. The calculation should take into account that you might be
50-
using colspan and rowspan as well.
43+
Go to the **Configuration** tab of the layout record and use the
44+
wizard to create the **Grid Configuration** there. It is not possible
45+
to directly edit the configuration there anymore, but you will get an
46+
overview about the TypoScript structure of the configuration, when you
47+
click on the button below the wizard.
48+
49+
Historically the wrapper for the whole block was the same as for pages:
50+
**backend\_layout** – when you are providing the configuration via files,
51+
**this has to be removed though!**
52+
53+
54+
::
55+
56+
config {
57+
backend_layout {
58+
...
59+
}
60+
}
61+
62+
becomes
63+
64+
::
65+
66+
config {
67+
...
68+
}
69+
70+
Use the keys **colCount** and **rowCount** to create the basic grid
71+
structure. Both values should be at least the lowest common multiple of
72+
the column sizes you want to create. They represent the actual grid behind
73+
the cell structure. The calculation should take into account that you
74+
might be using colspan and rowspan as well.
5175

5276
::
5377

54-
backend_layout {
78+
config {
5579
colCount = 4
5680
rowCount = 3
5781
}
@@ -67,7 +91,7 @@ even though it might stay empty later on.
6791

6892
::
6993

70-
backend_layout {
94+
config {
7195
colCount = 4
7296
rowCount = 3
7397
rows {
@@ -133,7 +157,7 @@ only *text* and *text with image* allowed as a content type:
133157

134158
::
135159

136-
backend_layout {
160+
config {
137161
colCount = 4
138162
rowCount = 3
139163
rows {

0 commit comments

Comments
 (0)