[英]In TYPO3 tx_news, how to filter by categories?
In tx_news, filtering by categories via Typoscript doesn't work as expected 在tx_news中,无法通过Typoscript按类别进行过滤
settings {
limit = 5
orderBy = datetime
orderDirection = asc
overrideFlexformSettingsIfEmpty := addToList(detailPid)
categories = 24
}
The categories filter is not being applied. 未应用类别过滤器。 How can it be done? 如何做呢?
Here's the solution, categoryConjunction = and
must be applied 这是解决方案, categoryConjunction = and
必须应用
settings {
limit = 5
orderBy = datetime
orderDirection = asc
overrideFlexformSettingsIfEmpty := addToList(detailPid)
categories = 24
categoryConjunction = and
}
I found this on http://webdesign-forum.net/thread-2510.html 我在http://webdesign-forum.net/thread-2510.html上找到了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.