t3brightside / pagelist

TYPO3 CMS extension for page lists & teasers. Comes with custom page types for articles, events, products and vacancies.
https://t3brightside.com
Other
10 stars 1 forks source link

pagebrowser / widget.paginate #16

Closed wini2 closed 3 years ago

wini2 commented 3 years ago

Hello,

is it possible to change the paginator? what I tried so far:

plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath { widget.GeorgRinger\News\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:news/Resources/Private/Templates/ }

and

plugin.tx_pagelist_paginate.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath { widget.GeorgRinger\News\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:news/Resources/Private/Templates/ }

but with no success.

(TYPO3 10.4.9/pagelist 2.4.0)

wini2 commented 3 years ago

I found out that the following configruation is applied

plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = fileadmin/Template/ext/t3sbootstrap/Resources/Private/Extensions/news/Resources/Private/Templates/

whereas

plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = fileadmin/Template/ext/pagelist/Resources/Private/Templates/ or plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = fileadmin/Template/ext/pagelist/Resources/Private/Templates/Widget/Paginate/

ain't.

the path is also not applied if I use a condition (12 is the page with the pagelist plugin) [page["uid"] == 12] plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath > plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = fileadmin/Template/ext/pagelist/Resources/Private/Templates/ [END]

I made a copy of the core index.html-widget-template and placed it in fileadmin/Template/ext/pagelist/Resources/Private/Templates/Widget/Paginate

If it's not a bug I would be grateful for a hint.

wini2 commented 3 years ago

a short notice for all who will need it

it works as expected if the index.html is placed in fileadmin/Template/ext/pagelist/Resources/Private/Templates/ViewHelpers/Widget/Paginate

in conjunction with plugin.tx_pagelist.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = fileadmin/Template/ext/pagelist/Resources/Private/Templates/

sorry for my lack of knowlege