Bug #25695

Template of widgets can't be changed

Added by Georg Ringer over 4 years ago. Updated almost 3 years ago.

Status:Closed Start date:2011-04-01
Priority:Must have Due date:
Assigned To:Christian Müller % Done:

20%

Category:Widgets
Target version:-
Has patch:No Affected Flow version:FLOW3 1.0.0

Description

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?

widget-template.patch Magnifier (1.1 kB) Georg Ringer, 2011-04-01 11:19


Related issues

related to TYPO3.Fluid - Task #11969: Make widgets' template configurable Closed 2011-04-01
duplicated by TYPO3.Fluid - Bug #34324: Template of widgets can't be changed Closed 2011-04-01

History

#1 Updated by Henjo Hoeksma over 4 years ago

+1 on this :-)

#2 Updated by Karsten Dambekalns almost 4 years ago

  • Affected Flow version set to FLOW3 1.0.0

#3 Updated by Karsten Dambekalns over 3 years ago

  • Category set to Widgets
  • Status changed from New to Needs Feedback
  • Assigned To set to Christian Müller
  • Has patch set to No

Christian, are you working on this?

#4 Updated by Christopher Hlubek over 3 years 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.

#5 Updated by Georg Ringer over 3 years ago

IMO this has been resolved with #10823
can you please crosscheck, thx

#6 Updated by Adrian Föder almost 3 years ago

  • Status changed from Needs Feedback to Closed

to me, everything looks like this is already resolved or handled in the related issues. Thus, closing it.

Also available in: Atom PDF