Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"type": "typo3-cms-extension",
"description": "Example site package from the site package tutorial",
"require": {
"typo3/cms-core": "^13.3.0|dev-main",
"typo3/cms-fluid-styled-content": "^13.3.0|dev-main"
"typo3/cms-core": "^13.4|dev-main",
"typo3/cms-fluid-styled-content": "^13.4|dev-main"
},
"homepage": "https://github.com/TYPO3-Documentation/TYPO3CMS-Tutorial-SitePackage-Code",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion Documentation/CodeSnippets/Fluid/PartialContent.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<f:for each="{records}" as="record">
<f:cObject
typoscriptObjectPath="{record.mainType}"
data="{record.rawRecord}"
data="{record}"
table="{record.mainType}"
/>
</f:for>
4 changes: 0 additions & 4 deletions Documentation/ContentMapping/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ the TypoScript object :typoscript:`tt_content` here. It is defined in the TypoSc
of the system extension :composer:`typo3/cms-fluid-styled-content`. We included
the site set of that extension in step :ref:`content-mapping-site-set`.

The TypoScript object :typoscript:`tt_content` expects the raw database content
of the row in the table. We therefore pass variable `{record.rawRecord}` to the
table.

`fluid-styled-content` internally uses
Fluid templates and TypoScript with data processors just like the ones we were
defining above. If you desire to change the output of these content elements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- <p>The content of the start page is displayed here. [...] </p>
+ <f:for each="{content.main.records}" as="record">
+ <f:cObject
+ typoscriptObjectPath="{record.mainType}"
+ typoscriptObjectPath="{record}"
+ data="{record.rawRecord}"
+ table="{record.mainType}"
+ />
Expand Down
Loading