#73207Changing the Template of a fluid widget does not work
Description
Hello,
I want to change the template of a fluid widget with following TypoScript:
module.tx_devlog.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPaths {
10 = EXT:devlog/Resources/Private/Templates/ViewHelpers/Widget/Paginate/Index.html
}
I have also tried that one:
module.tx_devlog.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:devlog/Resources/Private/Templates/ViewHelpers/Widget/Paginate/Index.html
While processing these values in Fluid, my template will be added AFTER the Fluid one. But in extractPathArrays you resort the values with krsort. Now my template is the first one and will be overwritten by Fluidtemplates again.
With my last idea I overwrite the full template path of Fluid:
module.tx_fluid.view.templateRootPaths {
10 = EXT:devlog/Resources/Private/Templates/
}
Now my template path will be added BEFORE the Fluid one. In extractPathArray the templates will be resorted again and my template path is the last one. Yeah. That’s correct.
Stefan