From 4917f144e1fa3d770a20a199d2307178e930e873 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Sat, 11 Jan 2025 13:37:46 +0100 Subject: [PATCH 1/3] [DOCS] Document how the page tree can be changed As there are more and more events now and also still page tsconfig it makes sense to give its own page to the page tree. Related https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/1184 Releases: main, 13.4 --- .../ApiOverview/Backend/PageTree.rst | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/ApiOverview/Backend/PageTree.rst diff --git a/Documentation/ApiOverview/Backend/PageTree.rst b/Documentation/ApiOverview/Backend/PageTree.rst new file mode 100644 index 000000000..483a428f7 --- /dev/null +++ b/Documentation/ApiOverview/Backend/PageTree.rst @@ -0,0 +1,42 @@ +:navigation-title: Page tree +.. include:: /Includes.rst.txt +.. _page-tree: + +================================== +The page tree in the TYPO3 backend +================================== + +The **page** tree is a hierarchical structure that represents pages and their +subpages on a website, allowing editors and integrators to easily organize and +manage content and navigation. + +It is displayed on the left of backend modules with +:ref:`navigationComponent ` +set to `'@typo3/backend/tree/page-tree-element'`. + +Usage of the page tree is described in +`Getting Started Tutorial, Page tree `_. + +The page tree can also be navigated via `Keyboard commands (Tutorial for +Editors) `_. + +.. contents:: + +.. _page-tree-events: + +PSR-14 events to influence the functionality of the page tree +============================================================= + +:ref:`AfterPageTreeItemsPreparedEvent` + Allows prepared page tree items to be modified. +:ref:`AfterRawPageRowPreparedEvent` + Allows to modify the populated properties of a page and children records + before the page is displayed in a page tree. + +.. _page-tree-tsconfig: + +TsConfig settings to influence the page tree +============================================ + +The rendering of the page tree can be influenced via user TsConfig +:ref:`options.pageTree `. From 9ba2ce1bff227cbdaf601ee46813fe61b302ac65 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Sat, 11 Jan 2025 14:46:30 +0100 Subject: [PATCH 2/3] [DOCS] Document how the page tree can be changed As there are more and more events now and also still page tsconfig it makes sense to give its own page to the page tree. Related https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/1184 Releases: main, 13.4 --- Documentation/ApiOverview/Backend/PageTree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ApiOverview/Backend/PageTree.rst b/Documentation/ApiOverview/Backend/PageTree.rst index 483a428f7..b849feda1 100644 --- a/Documentation/ApiOverview/Backend/PageTree.rst +++ b/Documentation/ApiOverview/Backend/PageTree.rst @@ -6,7 +6,7 @@ The page tree in the TYPO3 backend ================================== -The **page** tree is a hierarchical structure that represents pages and their +The **page tree** is a hierarchical structure that represents pages and their subpages on a website, allowing editors and integrators to easily organize and manage content and navigation. From 9081fa6bd17f8942458d9fb4a0a3d4c81be8b9ec Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Sun, 12 Jan 2025 12:16:30 +0100 Subject: [PATCH 3/3] Update Documentation/ApiOverview/Backend/PageTree.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stefan Frömken --- Documentation/ApiOverview/Backend/PageTree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ApiOverview/Backend/PageTree.rst b/Documentation/ApiOverview/Backend/PageTree.rst index b849feda1..c1bb65bb5 100644 --- a/Documentation/ApiOverview/Backend/PageTree.rst +++ b/Documentation/ApiOverview/Backend/PageTree.rst @@ -20,7 +20,7 @@ Usage of the page tree is described in The page tree can also be navigated via `Keyboard commands (Tutorial for Editors) `_. -.. contents:: +.. contents:: Table of contents .. _page-tree-events: