我有一个使用记录字段的自定义内容元素。如何将此字段中的记录放入我的流体模板中?
我试过这样做:
ext_example < lib.contentElement
ext_example {
templateName = MyTemplate
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\SplitProcessor
10 {
fieldName = records
delimiter = ,
}
}
}
但它给出了一个这样的数组:'tt_content_26,tt_content_30'
如何删除前缀tt_content_
以便我有一个可以使用的 uid 数组?