From c816ae41b4a2da8a4df372be71b1c0c2b5cb945e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 25 Apr 2018 16:34:37 +0200 Subject: [PATCH] Enable pagination of blog entries --- .../TypoScript/Extensions/News.ts | 1 + .../ViewHelpers/Widget/Paginate/Index.html | 84 +++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 web/typo3conf/ext/ep_theme/Resources/Private/Templates/News/ViewHelpers/Widget/Paginate/Index.html diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Extensions/News.ts b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Extensions/News.ts index f7d2d007..81bb4584 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Extensions/News.ts +++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Extensions/News.ts @@ -4,6 +4,7 @@ plugin.tx_news { view { templateRootPaths.100 = EXT:ep_theme/Resources/Private/Templates/News/ partialRootPaths.100 = EXT:ep_theme/Resources/Private/Partials/News/ + widget.GeorgRinger\News\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:ep_theme/Resources/Private/Templates/News/ } settings { link.skipControllerAndAction = 1 diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/News/ViewHelpers/Widget/Paginate/Index.html b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/News/ViewHelpers/Widget/Paginate/Index.html new file mode 100644 index 00000000..8c2bb412 --- /dev/null +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/News/ViewHelpers/Widget/Paginate/Index.html @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +