[TYPO3-mvc] fluid: adding own variables [discussion]

Sebastian KurfŸürst sebastian at typo3.org
Fri Jul 17 11:34:31 CEST 2009


Hi Christian,

> Presume, there is an event calender and different locations should be 
> highlighted using different css-classes (e.g. for different colors). The 
> designer needs nested if-else-constructions (or a SwitchViewHelper ;) ) 
> to assign the classes. The above Register_ConditionalViewHelper won't 
> help then, but a register would be helpfull to avoid doubled content.
Maybe he needs a custom ViewHelper then? :-)

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list