[TYPO3-mvc] <f:elseif condition="">

Martin Kutschker masi-no at spam-typo3.org
Tue Aug 10 11:09:02 CEST 2010


Am 10.08.2010 10:09, schrieb Laurent Foulloy:
> Hi all,
> 
> I have introduced in my own viewhelpers directory (assume x is the namespace) a slight modified
> version of the if viewHelper in order to allow  <x:elseif condition=""> </x:elseif>.
> 
> In line notation
> {x:if(condition:0,then:'then',elseif:{condition:1,then:'elseif '},else:'else')}
> 
> What do you think about it ?

Yes, please :)

Masi


More information about the TYPO3-project-typo3v4mvc mailing list