我有以下来自Typo3扩展名的摘要" Bootstrap_package",可在Typo3扩展存储库中获得。
dataProcessing {
10 = TYPO3CMSFrontendDataProcessingDatabaseQueryProcessor
10 {
table = tx_bootstrappackage_accordion_item
where {
data = field:uid
intval = 1
wrap = tt_content=|
}
orderBy = sorting
dataProcessing {
10 = TYPO3CMSFrontendDataProcessingFilesProcessor
10 {
references.fieldName = media
}
}
}
}
它是从表属于手风琴内容元素的表中获取记录(手风琴项目)。那正常工作。但是,当我在页面中的某个地方插入对本手风琴的引用时,记录将不会被获取。
该代码如何更改以使其正常工作?
非常感谢。
我像这样使用它:( pidinlist.field = pid<< nove)
tt_content.xy =< lib.default
tt_content.xy {
templateName = CE_Stage
dataProcessing {
30 = TYPO3CMSFrontendDataProcessingDatabaseQueryProcessor
30 {
table = tx_xy_slider
pidInList.field = pid
where {
data = field:uid
intval = 1
wrap = tt_content=|
}
orderBy = sorting
as = slides
dataProcessing {
10 = TYPO3CMSFrontendDataProcessingFilesProcessor
10 {
references.fieldName = image
as = images
}
}
}
}
}