[TYPO3-ttnews] tx_news FLUID condition for category

d.ros projects at r-system.de
Tue Jan 29 10:37:20 CET 2013


Am 29.01.2013 10:19, schrieb d.ros:
> Am 29.01.2013 07:32, schrieb Georg Ringer:
>> Hi,
>>
>> newsItem.category dosnt fork. either use newsItem.firstCategory.uid or
>> use a f:for each="category" and choose there the one you need
>>
>> georg
>>
>
> Hi,
>
> this should be correct but doesn´t work. Do I have forgotten something ?
>
> <f:for each="{categories}" as="category">
>
> <f:if condition="{category.uid} == {0:'1'}">
> <f:if condition="{0:settings.templateLayout} == {0:'Disqus'}">
>
> <div id="disqus_thread"></div>
>
> </f:if>
> </f:if>
>
> </f:for>
>
> greets
>
> david


Even if I set <f:if condition="{category.uid} != {0:'1'}"> nothing happens.

Therefore the <f:for each="..."> doesn´t seem to work. I'm in News 
Detailview.


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