#106893`filesProcessedDataKey` only checks first level
Description
given a PAGE has an IMAGE @ [media] an gets linked via [header_link] from a CONTENT-ELEMENT
https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/DataProcessing/GalleryProcessor.html#confval-galleryprocessor-filesprocesseddatakey
https://github.com/TYPO3-CMS/frontend/blob/18b2e3d8123c4384b2929b5ae6bdd29671bb731c/Classes/DataProcessing/GalleryProcessor.php#L253
should be possible the FILES procsr. loads from `pages`
and therefore overloads $processedData[‘files’] array -> looks like parameter uid/uidInList getting ignored
tt_content.textpic {
dataProcessing {
15 = files
15 {
#references.table = pages
references.fieldName = media
references.uid.stdWrap {
field = header_link
split {
token.char = 61
returnKey = 1
}
intval = 1
}
as = files
maxItems = 1
if.isTrue.field = header_link
}
cause this does not work .. @everyone ; any idea why?
need to layer ..
tt_content.textpic {
dataProcessing {
15 = database-query
15 {
table = pages
pidInList = 0
uidInList.stdWrap {
field = header_link
split {
token.char = 61
returnKey = 1
}
intval = 1
}
dataProcessing {
10 = files
10 {
references.fieldName = media
maxItems = 1
as = file
}
}
as = page
maxItems = 1
if.isTrue.field = header_link
}
tt_content.textpic.dataProcessing.20.filesProcessedDataKey = page.0.filehttps://github.com/TYPO3-CMS/fluid_styled_content/blob/6b02cb0a4234c1ae83f0b60b68aaf90eb963e558/Configuration/TypoScript/ContentElement/Textpic.typoscript#L14
it should be possible to overload the GALLERY procsr. with (typo3 default array) DOT-NOTATION
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.