Gallery ignores itemsPerPage
Hi,
my gallery ignores the
itemsPerPage
definition for any reason.
I definded
- plugin.tx_fsmediagallery.settings.album.pagination.itemsPerPage=50 and
- plugin.tx_fsmediagallery.settings.list.pagination.itemsPerPage = 50
but the pages always ony show 10 pictures.
Comments (11)
-
repo owner -
reporter - changed title to Gallery ignores itemsPerPage
-
reporter Beside the definitions above, I also set
Max. thumbs to display per page to e.g. 50 in Album list and Album view
Nevertheless, I still see “items per page = 12” in the “list” and “items per page = 32” in the “album” part in “Template analysis”It seems, as if the manual configuration, as well as the configuration in the flexform are ignored.
-
I have exactly this problem too.
Is there already a solution for this?
Thanks -
repo owner Can you test current master? should be fixed there now with https://bitbucket.org/franssaris/fs_media_gallery/commits/86bb9a97e9e2dc3ca0c62366a1d6f7ece068377d
-
repo owner - changed version to 3.0.x
-
repo owner - changed status to resolved
-
repo owner If one of you could verify that it is fixed then I will tag a new version
-
when i fixed this 2 lines:
\$paginationConfiguration = $this->settings['album']['pagination'] ?? [];
\$paginationConfiguration = $this->settings['list']['pagination'] ?? [];i get an error:
Class 'GeorgRinger\NumberedPagination\NumberedPagination' not found
OK i need also this extension now it works:
composer require georgringer/numbered-pagination -
reporter Hm. I have to dig a little deeper into this.
I also changed the 2 lines but neither I got the error message about the missing class, nor did I got more than 10 thumbnails.
I flushed all caches, but no change.Additionall, I realized, that my “max thumbs” in flexforms are further ignored.
The value only changes in typo3 object browser, when I change it via typoscript file.
@Christian Racan did you change the values in flexform or by typoscript? -
repo owner The object browser will not show the values you set in flexforms.
Maybe some PHP opcache that prevents the php changes from being visible?
- Log in to comment
What did you configure in the plugin flexform options?