【发布时间】:2019-10-18 02:47:00
【问题描述】:
我有一个使用记录字段的自定义内容元素。如何将此字段中的记录放入我的流体模板中?
我试过这样做:
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 数组?
【问题讨论】:
标签: typo3 typoscript fluid typo3-9.x fluid-styled-content