[TYPO3-mvc] fluid: adding own variables [discussion]
Steffen Kamper
info at sk-typo3.de
Thu Jul 16 23:06:54 CEST 2009
Hi,
i like the idea, sure zebra classes is the most recent usecase, but i
really dislike the complete if/else/then/register. Look to the code, you
see more construct than code.
One more elegant way would be a arrayindexwalker-helper like
<f3:rotate name="rotateClass" values="even-row|odd-row" />
and then use {rotateClass} as often you want and value will be all the
time the next value from definition. makes markup much shorter.
vg Steffen
More information about the TYPO3-project-typo3v4mvc
mailing list