haassie / yoast_news
在 EXT:news 中集成 Yoast SEO for TYPO3
v2.1.2
2020-11-09 15:26 UTC
Requires
- php: ^7.0
- georgringer/news: ^7.0 || ^8
- typo3/cms-core: ^8.7 || ^9.5 || ^10.4
- typo3/cms-extbase: ^8.7 || ^9.5 || ^10.4
- yoast-seo-for-typo3/yoast_seo: ^5.0 || ^6 || ^7
This package is auto-updated.
Last update: 2024-09-09 21:00:11 UTC
README
使用这个简单的插件,您可以将 Yoast SEO for TYPO3 集成到 EXT:news 中。
安装和配置
您可以通过 composer 或扩展管理器安装此插件。不需要太多配置。
- 通过 composer/扩展管理器安装扩展
- 确保通过使用
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:yoast_news/Configuration/TypoScript/setup.typoscript">
将 TypoScript 包含到您的项目中。或者使用静态包含。 - 包含页面 Ts 配置
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:yoast_news/Configuration/TSconfig/Page.tsconfig">
或者使用静态页面 Ts 包含。 - 在您的 Page TSconfig 文件中设置您的详细页面 ID。
TCEMAIN.preview.tx_news_domain_model_news.previewPageId = x
。其中 x 是您的详细页面的 ID!