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

[Backport 13.4] [TASK] cObject retrieves raw record automatically #1432

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 0 additions & 5 deletions Documentation/DataProcessing/PageContentFetchingProcessor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ or render it your self.
`{contentElement.fullType}`
Is composed of "tt_content.[CType]". For a content element of type text it
contains "tt_content.text".
`{contentElement.rawRecord}`
Contains an array with the raw row from the database. As the
:typoscript:`tt_content` TypoScript object expects the raw data as input
you should use `{contentElement.rawRecord}` in combination with the
CObject ViewHelper.

The :ref:`backend layout <t3coreapi:be-layout>` is defined like this:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h2>{contentElement.header}</h2>
<f:cObject
typoscriptObjectPath="{contentElement.mainType}"
table="{contentElement.mainType}"
data="{contentElement.rawRecord}"
data="{contentElement}"
/>
</f:for>
</main>
Expand Down
Loading