While working with TYPO3’s template engine Fluid it is sometimes necessary (or more elegant) to nest ViewHelpers for directing some function’s return value to the next function, e.g. for formatting.
TL;DR: If all you need is taking a look at a working example, please scroll down to the last code snippet of this article.
Now, let’s start a few steps back.
What is Fluid’s Inline Notation for ViewHelpers and when should you use it?
ViewHelpers are nifty little functions for your Fluid Template helping you to render data into your HTML offering if-then-else-comparisons, localising labels, counting, formatting, debugging, and a lot more. Many of them already come with your TYPO3 Core. „Fluid: Escaping nested Inline ViewHelper“ weiterlesen