Template of widgets can't be changed
|Priority:||Must have||Due date:|
|Assignee:||Christian Mueller||% Done:||
|Has patch:||No||FLOW3 version affected:||FLOW3 1.0.0|
Currently the widgets use the default template path only and it is impossible to override those which is kind of a nogo.
Attached patch fixes this. The path can be set via TS. e.g.
plugin.tx_fo.view.widgetRootPath = fileadmin/fo/
If using the pagination widget, the index.html needs to be at fileadmin/fo/ViewHelpers/Widget/Paginate/Index.html
One open question: Is this the correct way to go with the part "ViewHelpers" inside this path? or should it be fileadmin/fo/Paginate/Index.html?
Updated by Karsten Dambekalns over 1 year ago
- Category set to Widgets
- Status changed from New to Needs Feedback
- Assignee set to Christian Mueller
- Has patch set to No
Christian, are you working on this?
Updated by Christopher Hlubek over 1 year ago
I think we won't have a fileadmin folder in FLOW3 and I also dislike the idea of putting templates inside a fileadmin folder.
It should be possible to override this using settings (or TypoScript in v4). Right now the core widgets are cool but pretty useless.
Updated by Georg Ringer over 1 year ago
IMO this has been resolved with #10823
can you please crosscheck, thx