Types of pages¶
TYPO3 has predefined a number of pages types as constants in
typo3/sysext/core/Classes/Domain/Repository/PageRepository.php
.
What role each page type plays and when to use it is explained in more detail in Page types. Some of the page types require additional fields in pages to be filled out:
DOKTYPE_DEFAULT
- ID:1
Standard
DOKTYPE_LINK
- ID:3
Link to External URL
This type of page creates a redirect to an URL in the frontend. The URL is specified in the field
pages.url
.
DOKTYPE_SHORTCUT
- ID:4
Shortcut
This type of page creates a redirect to another page in the frontend. The shortcut target is specified in the field
pages.shortcut
, shortcut mode is stored inpages.shortcut_mode
.
DOKTYPE_BE_USER_SECTION
- ID:6
Backend user Section
DOKTYPE_MOUNTPOINT
- ID:7
Mount point
The mounted page is specified in
pages.mount_pid
, while display options can be changed withpages.mount_pid_ol
. See MountPoints documentation.
DOKTYPE_SPACER
- ID:199
Menu separator
DOKTYPE_SYSFOLDER
- ID:254
Folder
DOKTYPE_RECYCLER
- ID:255
Recycler