Skip to main content

Community library

Reusable Fluid and TYPO3 examples

Browse practical patterns shared by the FluidTYPO3 community.

18 examples

Usage of v:or for multiple conditions

Shows how to use the v:or ViewHelper instead of multiple f:if conditions to select the first value that is not empty and use or output it. Explains how the ViewHelper can be used together with f:if (and any other condition ViewHelper) or as an alternative to it.

Read full example

Manual rendering of VHS menus

Shows how to manually loop and render pages using v:page.menu instead of the built-in rendering which can only be affected in key aspects like class names. Includes a demonstration and small explanation of special properties which are added to each page's data, containing a pre-built link, link text and link tag CSS class name.

Read full example