Skip to content

Commit

Permalink
[BUGFIX] Fix full example in Feature-86826-RecursiveRecordSitemap
Browse files Browse the repository at this point in the history
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 <no-reply@typo3.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
  • Loading branch information
andreaskienast authored and georgringer committed Nov 22, 2018
1 parent 23b5ff1 commit 2ce03c6
Showing 1 changed file with 29 additions and 26 deletions.
Expand Up @@ -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

0 comments on commit 2ce03c6

Please sign in to comment.