Hei guys,
I've been trying really hard to override the templates, partials, and headers of some default content elements from fluid_styled_content. For instance, lets say 'Header'.
I also have a data processing class to fetch certain fields from tt_content table to process inside the header. Anyhow, I can receive this fetched data inside the template. But not in the partials or layouts. Did anyone ever faced the same?
This was my TS setup :
lib.contentElement {
templateRootPaths {
200 = EXT:my_ext/Resources/Private/Templates/
}
partialRootPaths {
200 = EXT:my_ext/Resources/Private/Partials/
}
layoutRootPaths {
200 = EXT:my_ext/Resources/Private/Layouts/
}
}
//custom content element definition
tt_content {
header < lib.contentElement
header {
templateName = Header
dataProcessing {
1 = VENDOR\MyExt\DataProcessing\ContentProcessor
}
}
}