Skip to content

Instantly share code, notes, and snippets.

@DenisMir
Last active August 29, 2015 14:07
Show Gist options
  • Save DenisMir/64c6f1829b51c20bd578 to your computer and use it in GitHub Desktop.
Save DenisMir/64c6f1829b51c20bd578 to your computer and use it in GitHub Desktop.
Fluid Powered Typo3
<f:section name="Sidebar">
<v:content.render column="0" as="sidebarContentElements">
<f:if condition="{sidebarContentElements}">
Content available.
<f:for each="{sidebarContentElements}" as="sidebarContentElement">
Each item.
<f:format.raw>{sidebarContentElement}</f:format.raw>
</f:for>
</f:if>
</v:content.render>
</f:section>
@DenisMir
Copy link
Author

DenisMir commented Oct 2, 2014

This is the output that gets rendered.

Content available. Each item. Each item. Each item.

The content element count is correct. (3 items) But no content element itself gets rendered.

Debugged view for the sidebar elements:

Extbase Variable Dump array(2 items) 0 => '' (0 chars) 1 => '' (0 chars) Extbase Variable Dump array(2 items) 0 => '' (0 chars) 1 => '' (0 chars)

And each element gives me:

Extbase Variable Dump '' (0 chars) Extbase Variable Dump '' (0 chars)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment