在“文件列表”元素的模板中,我想检索为每个文件设置的类别。
所以我有一个像这样的额外数据处理器:
tt_content.uploads.dataProcessing.10 {
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
if.isTrue.field = categories
table = sys_category
selectFields = sys_category.*
pidInList = 10
recursive = 999
join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
where.data = field:_ORIG_uid // field:uid
where.intval = 1
where.wrap = sys_category_record_mm.uid_foreign=|
as = categories
}
}
}
但是,当我调试时,类别没有显示?