TYPO3-metaseo
TYPO3-metaseo copied to clipboard
News extension description-field with fallback to teaser-field for meta-description
When using ext:news together with ext:metaseo you get the description-metatag twice. Once from ext:metaseo (news-teaser-field) and once from ext:news.
This could be avoided by:
-
Commenting out metatag-viewhelper in your version of ext/news/Resources/Private/Partials/Detail/Opengraph.html
-
A small modification to ext:metaseo, which is already collaborating with ext:news nicely: 2.1 ext/metaseo/Classes/Page/Part/MetatagPart.php: Line 290 add:
if (isset($GLOBALS['TSFE']->register['newsDescription'])) { $connector->setMetaTag('description', $GLOBALS['TSFE']->register['newsDescription']); }
2.2 ext/metaseo/Configuration/TypoScript/setup.txt, final line:plugin.tx_news.settings.detail.registerProperties := addToList(keywords,title,teaser,authoremail,description)
MetaSEO version: 3.0.0
TYPO3 version: 8.7.7
PHP version: 7.0.2
News version: 6.1.1