Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Allow modifying fetched page content #1472

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Documentation/DataProcessing/PageContentFetchingProcessor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,20 @@ The :ref:`backend layout <t3coreapi:be-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 <https://docs.typo3.org/permalink/t3coreapi:aftercontenthasbeenfetchedevent>`_
has been introduced to adjust the page content fetched by the `page-content`
data processor.

The event `AfterContentHasBeenFetchedEvent <https://docs.typo3.org/permalink/t3coreapi:aftercontenthasbeenfetchedevent>`_
can be used to modify the content elements fetched by the by the `page-content`
linawolf marked this conversation as resolved.
Show resolved Hide resolved
data processor.

See the following example:
`Filter content elements provided by the page-content data processor <https://docs.typo3.org/permalink/t3coreapi:aftercontenthasbeenfetchedevent-example>`_.
Loading