Thumbnails and pagination in TYPO3 11

Missing thumbnails in the backend and no longer working pagination for news or solr in the frontend. This small tutorial shows how to display the thumbnails again.

After updating from TYPO3 v10 to v11 two things are noticeable:

Backend: Missing thumbnails in list views (e.g. at tx_news).

In the backend the thumbnails are missing for the news in the list view, which were still there in v10

Frontend: No pagination for many elements e.g. in tx_news or in result lists of solr

In the frontend, pagination no longer works properly for many news or many solr search results, for example. The output looks like this:

 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

 

But the correct output would be according to the following scheme:

 

Page 2 of 24. previous 1 2 3 4 5 6 7 8 9 10 ... next

 

Cause and solution

The previous ViewHelper in news and solr no longer exist and have been replaced by two extensions. The installation via composer is as usual fast and easy:

 

composer require georgringer/numbered-pagination
composer require studiomitte/recordlist-thumbnail

 

For the extension recordlist-thumbnail you can configure in the extension settings for which tables thumbnails should be displayed, for news and fal this would be as follows:

 

tx_news_domain_model_news=fal_media

 

Now both the pagination and the thumbnails should be displayed correctly in the backend again.

More information at https://github.com/georgringer/numbered_pagination and https://github.com/studiomitte/recordlist_thumbnail

prev Update Debian 11 to Debian 12 (bookworm)
next Automatic connection of SSH through a proxy