Created
April 16, 2014 19:45
-
-
Save ryzy/10925362 to your computer and use it in GitHub Desktop.
How to wrap *each* children of TYPO3.Neos:ContentCollection into custom markup?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(M12.Foundation:Content) < prototype(TYPO3.Neos:Content) | |
prototype(M12.Foundation:BlockGrid) < prototype(M12.Foundation:Content) { | |
blockGridContent = TYPO3.TypoScript:Collection { | |
collection = ${q(node).children('[instanceof TYPO3.Neos:ContentCollection]').children()} | |
itemName = 'gridItem' | |
itemRenderer = TYPO3.Neos:Content { | |
node = ${gridItem} | |
templatePath = 'resource://M12.Foundation/Private/Templates/NodeTypes/BlockGridItem.html' | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{namespace ts=TYPO3\TypoScript\ViewHelpers} | |
<li> | |
<ts:render path="node" /> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment