From cea5f25e28e3b23f289f842bdd4e5ef1c755d335 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Wed, 11 Dec 2024 07:35:31 +0100 Subject: [PATCH 1/2] [FEATURE] Allow modifying fetched page content Resolves: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/1165 Releases: main, 13.4 --- .../PageContentFetchingProcessor.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/DataProcessing/PageContentFetchingProcessor.rst b/Documentation/DataProcessing/PageContentFetchingProcessor.rst index 140c5f2b9..8de96e469 100644 --- a/Documentation/DataProcessing/PageContentFetchingProcessor.rst +++ b/Documentation/DataProcessing/PageContentFetchingProcessor.rst @@ -74,3 +74,20 @@ The :ref:`backend layout ` is defined like this: .. literalinclude:: _PageContentFetchingProcessor/_BackendLayout.tsconfig :caption: config/sites/my-site/page.tsconfig + +.. _PageContentFetchingProcessor-AfterContentHasBeenFetchedEvent: + +Modify the result via AfterContentHasBeenFetchedEvent +===================================================== + +.. versionadded:: 13.4.2 | 14.0 + The event `AfterContentHasBeenFetchedEvent `_ + has been introduced to adjust the page content fetched by the `page-content` + data processor. + +The event `AfterContentHasBeenFetchedEvent `_ +can be used to modify the content elements fetched by the by the `page-content` +data processor. + +See the following example: +`Filter content elements provided by the page-content data processor `_. From e0499373bcc09f73449766d13aa9e84d5589a895 Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:10:03 +0100 Subject: [PATCH 2/2] Update Documentation/DataProcessing/PageContentFetchingProcessor.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stefan Frömken --- Documentation/DataProcessing/PageContentFetchingProcessor.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DataProcessing/PageContentFetchingProcessor.rst b/Documentation/DataProcessing/PageContentFetchingProcessor.rst index 8de96e469..d831e3319 100644 --- a/Documentation/DataProcessing/PageContentFetchingProcessor.rst +++ b/Documentation/DataProcessing/PageContentFetchingProcessor.rst @@ -86,7 +86,7 @@ Modify the result via AfterContentHasBeenFetchedEvent data processor. The event `AfterContentHasBeenFetchedEvent `_ -can be used to modify the content elements fetched by the by the `page-content` +can be used to modify the content elements fetched by the `page-content` data processor. See the following example: