Feature #87011
closedseo sitemap css should be able to overwrite
0%
Description
It would be nice to overwrite css file Sitemap.xls defined in
ExtensionManagementUtility::extPath('seo', 'Resources/Public/CSS/Sitemap.xsl')
Updated by Richard Haeser almost 6 years ago
What is the reason that you want this? Normal visitors don't see this sitemap. It is only for devs / SEOs to have an easy overview.
When I created this, I also thought about overrides but couldn't come up with a valid use-case for this.
Updated by Richard Haeser almost 6 years ago
- Status changed from New to Needs Feedback
- Priority changed from Should have to Could have
Updated by Martin Weymayer almost 6 years ago
... to change default title and headline "TYPO3 XML Sitemap". My customer want to have "My Company XML Sitemap".
Updated by Richard Haeser almost 6 years ago
It is already possible to override the XML templates by settings the templateRootPaths. You can add your own XSL to that file if you want. Does that solve your issue? I think there is quite a small amount of people that would like to override this XSL file.
Updated by Martin Weymayer almost 6 years ago
overwriting templateRootPaths does not effect Sitemap.xsl
Updated by Richard Haeser almost 6 years ago
See https://gist.github.com/haassie/6fb1086dcb98f7532af45c6fa083c9fe for an example how to do this. In the example only the index is changes, but you can also do this for your other Sitemap.xml
Updated by Richard Haeser almost 6 years ago
- Status changed from Needs Feedback to Closed