diff --git a/Classes/Frontend/RssFeed/SitemapDataProvider.php b/Classes/Frontend/RssFeed/SitemapDataProvider.php index a78c4db..0937df5 100644 --- a/Classes/Frontend/RssFeed/SitemapDataProvider.php +++ b/Classes/Frontend/RssFeed/SitemapDataProvider.php @@ -42,7 +42,7 @@ class SitemapDataProvider extends RecordsXmlSitemapDataProvider array $config = [], ContentObjectRenderer $cObj = null ) { - $categoryUid = intval($request->getQueryParams()['category_id'] ?? 0); + $categoryUid = intval($request->getQueryParams()['category_uid'] ?? 0); if ($categoryUid > 0) { $pageUids = $this->getPageUidsWithRelationToCategory($categoryUid); $config['additionalWhere'] = ($config['additionalWhere'] ?? '') diff --git a/Configuration/Services/Tracking.yaml b/Configuration/Services/Tracking.yaml index bacc641..d126bd1 100644 --- a/Configuration/Services/Tracking.yaml +++ b/Configuration/Services/Tracking.yaml @@ -146,7 +146,7 @@ services: $rules: topics: matches: > - request.getQueryParams()["topic_id"] > 0 + request.getQueryParams()["topic_uid"] > 0 and not (context.getAspect("backend.user").isLoggedIn()) and not (context.getAspect("frontend.preview").isPreview()) and not (request.getHeader("User-Agent")[0] matches "/^TYPO3|TYPO3 linkvalidator/") @@ -154,5 +154,5 @@ services: and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/") and not (request.getHeader("User-Agent")[0] matches "/bot|spider|Slurp|Sogou|NextCloud-News|Feedly|XING FeedReader|SEOkicks|Seekport Crawler|ia_archiver|TrendsmapResolver|Nuzzel/") and not (request.getHeader("User-Agent")[0] matches "/mattermost|Slackbot|WhatsApp/") - recordUid: 'request.getQueryParams()["topic_id"]' + recordUid: 'request.getQueryParams()["topic_uid"]' tableName: 'sys_category' diff --git a/Configuration/TypoScript/Setup/ContentElements/MenuAbstract.typoscript b/Configuration/TypoScript/Setup/ContentElements/MenuAbstract.typoscript index 1b7442e..632380d 100644 --- a/Configuration/TypoScript/Setup/ContentElements/MenuAbstract.typoscript +++ b/Configuration/TypoScript/Setup/ContentElements/MenuAbstract.typoscript @@ -42,7 +42,7 @@ tt_content.menu_abstract { special = categories special { value { - data = GP:topic_id + data = GP:topic_uid intval = 1 } sorting = lastUpdated @@ -62,7 +62,7 @@ tt_content.menu_abstract { where = uid = ###UID### markers { UID { - data = GP:topic_id + data = GP:topic_uid intval = 1 } } diff --git a/Configuration/TypoScript/Setup/RssFeed.typoscript b/Configuration/TypoScript/Setup/RssFeed.typoscript index d91c7cd..14bd700 100644 --- a/Configuration/TypoScript/Setup/RssFeed.typoscript +++ b/Configuration/TypoScript/Setup/RssFeed.typoscript @@ -38,14 +38,14 @@ page { 11 = COA 11 { if { - isTrue.stdWrap.data = GP:topic_id + isTrue.stdWrap.data = GP:topic_uid } 1 = TEXT 1.char = 10 2 = TEXT 2 { noTrimWrap = | - {content -> f:spaceless()} + {content -> f:spaceless()} diff --git a/Resources/Private/Partials/TopicList.html b/Resources/Private/Partials/TopicList.html index f409869..45f39e2 100644 --- a/Resources/Private/Partials/TopicList.html +++ b/Resources/Private/Partials/TopicList.html @@ -6,7 +6,7 @@
  • - {topic.data.title}{f:if(condition: topic.data.count, then: ' ({topic.data.count})')} + {topic.data.title}{f:if(condition: topic.data.count, then: ' ({topic.data.count})')}
  • diff --git a/Resources/Private/Templates/Sitemaps/RssFeed.xml b/Resources/Private/Templates/Sitemaps/RssFeed.xml index d384255..f6286f8 100644 --- a/Resources/Private/Templates/Sitemaps/RssFeed.xml +++ b/Resources/Private/Templates/Sitemaps/RssFeed.xml @@ -5,8 +5,8 @@ Daniel Siepmann - Coding is Art - Blog Posts {settings.categoryTitle} List of {settings.categoryTitle} blog posts at daniel-siepmann.de - {f:uri.page(pageUid: 11, additionalParams: {topic_id: settings.categoryId}, absolute: 1)} - + {f:uri.page(pageUid: 11, additionalParams: {topic_uid: settings.categoryId}, absolute: 1)} + Daniel Siepmann - Coding is Art - All Blog Posts