Hallo,
ich versuche die Ausgabe des Paginierungswidgets zu verändern.
Dass meine Einbindung im TS-Setup mittels
plugin.tx_meinextension.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:tx_meinextension/Resources/Private/Templates/
funktioniert, sehe ich nur daran, dass nun
Sorry, the requested view was not found.
The technical reason is: No template was found. View could not be resolved for action "index" in class "TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController".
erscheint...
Ich habe nun entsprechend in meinem angegeben Verzeichnis alles mögliche versucht - aber egal in welchen Unterverzeichnissen ich die 'Index.html' unterbringe: Es wird nix gefunden.
Vielelicht bin ich aber auch völlig auf dem Holzweg?
Viele Grüße vom Rhein, Stefan
Das TS ist ok so.
So muß der Pfad zum Template lauten:
typo3conf/ext/tx_meinextension/Resources/Private/Templates/ViewHelpers/Widget/Paginate/Index.html
Hallo jenses,
vielen Dank - aber es bleibt bei:
Sorry, the requested view was not found.
The technical reason is: No template was found. View could not be resolved for action "index" in class "TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController".
Ich habe den Pfad überprüft - genau so war er zuletzt auch definiert.
Da muss noch irgendwas anderes haken o.O
Aber Extbase ist ja nie eine große Hilfe, was Fehlermeldungen angeht...
Das Template für den Paginate Widget konnte ich wie folgt anwenden!
TS Setup
plugin.tx_extname {
view {
templateRootPath = {$plugin.tx_rlsmfpdb.view.templateRootPath}
partialRootPath = {$plugin.tx_rlsmfpdb.view.partialRootPath}
layoutRootPath = {$plugin.tx_rlsmfpdb.view.layoutRootPath}
widget {
TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = {$plugin.tx_extname.view.widget.paginate.templateRootPath}
}
}
}
TS Constants
plugin.tx_extname {
view {
# cat=plugin.tx_rlsmfpdb/file; type=string; label=Path to template root (FE)
templateRootPath = EXT:rl_smf_pdb/Resources/Private/Templates/
# cat=plugin.tx_rlsmfpdb/file; type=string; label=Path to template partials (FE)
partialRootPath = EXT:rl_smf_pdb/Resources/Private/Partials/
# cat=plugin.tx_rlsmfpdb/file; type=string; label=Path to template layouts (FE)
layoutRootPath = EXT:rl_smf_pdb/Resources/Private/Layouts/
widget.paginate.templateRootPath = EXT:rl_smf_pdb/Resources/Private/Templates/
}
}
Das Template liegt dann tatsächlich im Verzeichnis
/typo3conf/ext/rl_ext_name/Resources/Private/Templates/ViewHelpers/Widget/Paginate/Index.html
Schönen Gruß!