[Neos] ts:render or f:format->raw

Sebastian Kurfürst sebastian at typo3.org
Mon Nov 25 22:47:47 CET 2013


Hey Nick,

nice to have you on the mailing list and thx for your questions :-)


> So which should we use?    <ts:render path="parts.breadcrumb" />  or 
> {parts.breadcrumb -> f:format.raw()}.
>
> Also does it matter which is used?
Basically, <ts:render> is "old", and was built before we implemented
{parts.breadcrumb ...} to work. So I'd suggest to use the *second*
solution over the first one.

There are only very rare cases for <ts:render>, such if you want to
modify the TypoScript context for rendering (<ts:render path="..."
context="{node: someSpecialNode}">)

Greets,
Sebastian


More information about the Neos mailing list