0
votes

How can I check that a news article has a certain parent category in m'y Fluid template?

1

1 Answers

1
votes

Maybe this can help :

<f:for each="{newsItem.categories}" as="category">
    <f:if condition="{category.parent.uid} == theCatIdYouAreSearchingFor">
        do your stuff here...
    </f:if>
</f:for>