Skip to content

Commit d561ccc

Browse files
[TASK] Update page type chapter (#5402)
* [TASK] Update page type chapter Resolves: #5102 Releases: main, 13.4, 12.4 * Update Documentation/ApiOverview/PageTypes/Index.rst --------- Co-authored-by: Stefan Frömken <123929835+sfroemkenjw@users.noreply.github.com>
1 parent 437c07f commit d561ccc

File tree

4 files changed

+36
-112
lines changed

4 files changed

+36
-112
lines changed
Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,34 @@
1-
.. include:: /Includes.rst.txt
2-
.. index:: Page types
3-
.. _page-types:
1+
.. include:: /Includes.rst.txt
2+
.. index:: Page types
3+
.. _page-types:
4+
.. _page-types-intro:
45

56
==========
67
Page types
78
==========
89

9-
.. toctree::
10-
:maxdepth: 1
10+
TYPO3 organizes content using different **page types**, each serving a specific
11+
purpose. See also `Types of pages <https://docs.typo3.org/permalink/t3coreapi:list-of-page-types>`_.
1112

12-
Introduction
13-
TypesOfPages
14-
RedirectHeaders
15-
CreateNewPageType
13+
Each page type serves a different function in TYPO3’s content hierarchy, making
14+
it easier to manage complex websites.
15+
16+
.. figure:: /Images/ManualScreenshots/PageTypes/Overview.png
17+
:alt: Screenshot of the page properties form with highlighted page type (field `doktype`) and the page tree with the page type icons
18+
19+
When creating a page, different page types are available at the top of the page tree. The page type can be edited in the page properties for existing pages.
20+
21+
The predefined page types are defined as constants in
22+
:php:`\TYPO3\CMS\Core\Domain\Repository\PageRepository`.
23+
24+
Additional page types can be registered in the
25+
:php:`\TYPO3\CMS\Core\DataHandling\PageDoktypeRegistry`, see also
26+
`Create new Page Type <https://docs.typo3.org/permalink/t3coreapi:page-types-example>`_.
27+
28+
.. toctree::
29+
:caption: Topics
30+
:maxdepth: 1
31+
32+
TypesOfPages
33+
RedirectHeaders
34+
CreateNewPageType

Documentation/ApiOverview/PageTypes/Introduction.rst

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

Documentation/ApiOverview/PageTypes/RedirectHeaders.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
.. include:: /Includes.rst.txt
2-
.. index::
3-
Redirect headers
4-
Http; X-Redirect-By
5-
Page types; Redirect headers
1+
:navigation-title: Redirect Headers
2+
3+
.. include:: /Includes.rst.txt
4+
.. index::
5+
Redirect headers
6+
Http; X-Redirect-By
7+
Page types; Redirect headers
8+
.. _page-types-redirect-header:
69

710
==================================================
811
X-Redirect-By header for pages with redirect types
54.7 KB
Loading

0 commit comments

Comments
 (0)