From 2ce03c6e2154fc8d7bf0f6c25f87c8adb2b3bbd3 Mon Sep 17 00:00:00 2001 From: Andreas Fernandez Date: Wed, 21 Nov 2018 21:21:41 +0100 Subject: [PATCH] [BUGFIX] Fix full example in `Feature-86826-RecursiveRecordSitemap` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some missing TypoScript is added to the documentation file `Feature-86826-RecursiveRecordSitemap.rst` to get an additional, functional sitemap. Resolves: #86971 Releases: master Change-Id: I48711f176fdb7345d02946f1bc666a0c751a54cc Reviewed-on: https://review.typo3.org/58929 Tested-by: TYPO3com Reviewed-by: Richard Haeser Tested-by: Richard Haeser Reviewed-by: Josef Glatz Reviewed-by: Jörg Bösche Reviewed-by: Georg Ringer Tested-by: Georg Ringer --- .../Feature-86826-RecursiveRecordSitemap.rst | 55 ++++++++++--------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/typo3/sysext/core/Documentation/Changelog/9.5.x/Feature-86826-RecursiveRecordSitemap.rst b/typo3/sysext/core/Documentation/Changelog/9.5.x/Feature-86826-RecursiveRecordSitemap.rst index 6c367820da29..ef5d0dbdfd7c 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.5.x/Feature-86826-RecursiveRecordSitemap.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.5.x/Feature-86826-RecursiveRecordSitemap.rst @@ -20,33 +20,36 @@ A full example: .. code-block:: typoscript - config { - xmlSitemap { - news { - provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider - config { - table = tx_news_domain_model_news - sortField = sorting - lastModifiedField = tstamp - pid = 26 - recursive = 2 - url { - pageId = 25 - fieldToParameterMap { - uid = tx_news_pi1[news] - } - - additionalGetParameters { - tx_news_pi1.controller = News - tx_news_pi1.action = detail - } - - useCacheHash = 1 + plugin.tx_seo { + config { + xmlSitemap { + sitemaps { + news { + provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider + config { + table = tx_news_domain_model_news + sortField = sorting + lastModifiedField = tstamp + pid = 26 + recursive = 2 + url { + pageId = 25 + fieldToParameterMap { + uid = tx_news_pi1[news] + } + + additionalGetParameters { + tx_news_pi1.controller = News + tx_news_pi1.action = detail + } + + useCacheHash = 1 + } + } } - } - } + } } - } - } + } +} .. index:: Frontend, ext:seo, NotScanned