[TYPO3-german] fluid condition - mehrere mögliche Werte

Philipp Holdener philipp.holdener at me.com
Wed Mar 18 10:11:48 CET 2015


Am 18.03.15 um 10:03 schrieb Mikel:
> <f:switchexpression="{lib.backendlayout}">
>     <f:casevalue="4">
>        Dieser Case wird ausgeführt.
>     </f:case>
>     <f:casevalue="7">
>        Der andere Case wird ausgeführt.
>     </f:case>
> </f:switch>


Diese schreibweise ist so korrekt?

Habs jetzt mal mit

<f:switch expression="{lib.backendlayout}">
   <f:case value="4">ID 4</f:case>
   <f:case value="7">ID 7</f:case>
</f:switch>


versucht.. damit bekomm ich im Frontend das hier

No value found for key 
"TYPO3\CMS\Fluid\ViewHelpers\SwitchViewHelper->switchExpression", thus 
the key cannot be removed. - See more at: 
http://p241932.mittwaldserver.info/home/layout-4/#sthash.a7U4onWr.dpuf




More information about the TYPO3-german mailing list