Project

General

Profile

Actions

Bug #73207

closed

Changing the Template of a fluid widget does not work

Added by Stefan Froemken almost 9 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Start date:
2016-02-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #84575: Fluid autocomplete widget not working anymoreClosed2018-04-02

Actions
Actions

Also available in: Atom PDF