Responsive Images with TYPO3 8.7

Responsive webdesign is a de-facto standard in the modern web now. We usually design websites with both small and big screens in mind. However, we often stop when it comes to embedded images. In most cases, there will be one image file that is (kind of) optimized for desktop usage, which will then be used across all screen sizes. We can do better with responsive images. „Responsive Images with TYPO3 8.7“ weiterlesen

Fluid: Escaping nested Inline ViewHelper

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