Skip to content

Commit 6f5f018

Browse files
committed
[TASK] Overhaul subpage layout
Releases: main, 13.4
1 parent 1ce9134 commit 6f5f018

File tree

7 files changed

+0
-53
lines changed

7 files changed

+0
-53
lines changed

Documentation/ContentMapping/SubpageLayout.rst

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,3 @@
66
=========================
77
Additional subpage layout
88
=========================
9-
10-
Edit the file :file:`TwoColumns.html` in the same directory. Exchange the
11-
main content area just as we have done before with the default template. Now
12-
replace the content area of the sidebar with the content elements in the Fluid
13-
variable :html:`{sidebarContent}`.
14-
15-
You can compare your result to the example in our site extension:
16-
`TwoColumns.html <https://github.com/TYPO3-Documentation/TYPO3CMS-Tutorial-SitePackage-Code/blob/main/Resources/Private/Templates/Page/TwoColumns.html>`_.
17-
18-
.. contents::
19-
20-
.. _cm-switch_backend_layout:
21-
22-
Switch to the two column layout with a sidebar
23-
==============================================
24-
25-
You can switch the used page backend layout in the page properties at
26-
:guilabel:` Appearance > Page Layout > Backend Layout`. Edit the page
27-
properties of your page to use the backend layout "Two Columns".
28-
29-
.. include:: /Images/AutomaticScreenshots/SwitchBackendLayout.rst.txt
30-
31-
After saving you will see that the content of the columns "main" and
32-
"jumbotron" remains unchanged while there is a third column "sidebar".
33-
This is due to the fact that the backend layout "Default" and "TwoColumns"
34-
use the same colPos number for these columns.
35-
36-
.. include:: /Images/AutomaticScreenshots/BackendLayoutTwoColumns.rst.txt
37-
38-
Enter some content to the sidebar. You could for example use the content element
39-
"Menu of subpages" to display a menu in the sidebar.
40-
41-
Preview the page once more. A sidebar will appear in the frontend:
42-
43-
.. include:: /Images/AutomaticScreenshots/TwoColumnsPreviewPage.rst.txt
Binary file not shown.

Documentation/Images/AutomaticScreenshots/BackendLayoutTwoColumns.rst.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.
-78.9 KB
Binary file not shown.

Documentation/Images/AutomaticScreenshots/SwitchBackendLayout.rst.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.
Binary file not shown.

Documentation/Images/AutomaticScreenshots/TwoColumnsPreviewPage.rst.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)