TYPO3 - 如何检查一篇新闻文章是否有一个带有流动性的父类别
TYPO3 - How to check if a news article has a certain parent category with fluid
如何检查新闻文章在我的 Fluid 模板中是否具有特定的父类别?
也许这会有所帮助:
<f:for each="{newsItem.categories}" as="category">
<f:if condition="{category.parent.uid} == theCatIdYouAreSearchingFor">
do your stuff here...
</f:if>
</f:for>
如何检查新闻文章在我的 Fluid 模板中是否具有特定的父类别?
也许这会有所帮助:
<f:for each="{newsItem.categories}" as="category">
<f:if condition="{category.parent.uid} == theCatIdYouAreSearchingFor">
do your stuff here...
</f:if>
</f:for>