[TYPO3-ttnews] tx_news FLUID condition for category

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


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


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