Project

General

Profile

Actions

Bug #106519

closed

Ext:seo custom sitemap templates won't work. (config key template not interpreted)

Added by Florian Schuhmann 20 days ago. Updated 12 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2025-04-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

To get a google-specific sitemap for news or videos, it was possible to specify a separate template for rendering the sitemap like described in the docs at https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Seo/XmlSitemap.html#for-records

This procedure is also used in EXT:news:
https://github.com/georgringer/news/blob/main/Configuration/TypoScript/SeoSitemap/setup.typoscript#L14-L15

Since the changes in the following patchset, the above configuration no longer works.
https://forge.typo3.org/issues/98914
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.1/Feature-98914-TypoScriptAsRequestAttribute.html

The affected class is XmlSitemapRenderer::renderSitemap from EXT:seo

- $template = ($sitemapConfig['config']['template'] ?? false) ?: 'Sitemap';
+ $template = $sitemapConfig['template'] ?? 'Sitemap';

With this change, the config key 'template' was move from
plugin.tx_seo.config.xmlSitemap.sitemaps.<dedicated_sitemap>.config.template
to
plugin.tx_seo.config.xmlSitemap.sitemaps.<dedicated_sitemap>.template


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #98914: Add TypoScript as Request attributeClosed2022-10-25

Actions
Actions #1

Updated by Garvin Hicking 20 days ago

  • Related to Feature #98914: Add TypoScript as Request attribute added
Actions #2

Updated by Garvin Hicking 20 days ago

  • Category changed from SEO to Fluid
  • Status changed from New to Accepted
  • Is Regression set to Yes
Actions #3

Updated by Andri Steiner 20 days ago ยท Edited

  • File 20250403_185050_3240.jpg added
Actions #4

Updated by Andri Steiner 19 days ago

  • File deleted (20250403_185050_3240.jpg)
Actions #5

Updated by Gerrit Code Review 12 days ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89125

Actions #6

Updated by Gerrit Code Review 12 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89125

Actions #7

Updated by Gerrit Code Review 12 days ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89128

Actions #8

Updated by Gerrit Code Review 12 days ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89129

Actions #9

Updated by Georg Ringer 12 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF