[TYPO3-ttnews] tt_news: Condition based on category in single view

Florian Seirer florian.seirer at tirol.gv.at
Thu Jul 18 13:23:58 CEST 2013


I'd like to set some TYPOScript values based on the category the tt_news record has.
Basically, if  the record has the category 123, then set 

plugin.tt_news.firstImageIsPreview = 1
plugin.tt_news.forceFirstImageIsPreview = 1 

in the SINGLE view.

Any ideas how to achieve this? Google doesn't have an answer, and neither have I...


More information about the TYPO3-project-tt-news mailing list