Extension Programmierung

Cheat List Fluid

Inline Conditions in Fluid Templates

The if ViewHelper works similar to the php if-function and so the usage is quite easy. If you want to set css classes based on condtions, e.g. a zebra-styling for tables, the if-then-else construct end often with a confusing code.

Much easier are inline conditions, here a small sample:

ERROR: Content Element type "t3page_cetextimageright" has no rendering definition!

ERROR: Content Element type "t3page_cetextimageright" has no rendering definition!

ERROR: Content Element type "t3page_cecode" has no rendering definition!

ERROR: Content Element type "t3page_cetextimageright" has no rendering definition!

Weitere Artikel zu diesem Thema:

Kommentare

keine Kommentare vorhanden


Kommentar verfassen

Die Email Adresse wird nicht veröffentlicht.