beechit/news-ttnewsimport

EXT:tt_news 项目到 EXT:news 的导入器

安装次数: 12,546

依赖: 1

建议: 0

安全: 0

星标: 20

关注者: 6

分支: 28

开放问题: 16

类型:typo3-cms-extension

2.0.0 2016-10-14 09:26 UTC

This package is not auto-updated.

Last update: 2024-09-25 18:19:25 UTC


README

此扩展支持将 EXT:tt_news 记录导入 EXT:news,并支持多个增强 tt_news 的第三方扩展。

要求

  • TYPO3 CMS >= 6.2
  • Ext:news >= 3.0

许可

GPL v2

迁移记录

tt_news 记录迁移到 tx_news_domain_model_news,tt_news_cat 迁移到 sys_category。

在迁移过程中支持以下第三方扩展,迁移完成后不再需要:

  • DAM: 使用新的 FAL API 迁移 DAM 记录。
  • jg_youtubeinnews: 将 YouTube 链接迁移到 EXT:news 媒体元素。
  • tl_news_linktext: 将相关链接迁移到 ext:news 链接元素。
  • EXT:mbl_newsevent 迁移到 EXT:roq_newsevent (EXT:news 的新闻事件扩展) 的可用字段。

使用方法

  • 安装扩展后,切换到 "新闻导入" 模块。
  • 选择所需的向导并按 开始

重要:首先导入分类(如果有)。之后重新打开模块导入新闻。如果不重新打开模块,某些新闻可能会被导入两次。

插件迁移

您可以使用命令行将 tt_news 的插件迁移到新闻。

请注意,并非所有选项都会迁移。支持的选项包括:

  • what_to_display
  • listOrderBy (除:archivedate、author、type、random)
  • ascDesc
  • categoryMode
  • categorySelection
  • useSubCategories
  • archive
  • imageMaxWidth
  • imageMaxHeight
  • listLimit
  • noPageBrowser
  • croppingLenght
  • PIDitemDisplay
  • backPid
  • pages
  • recursive

不支持

  • croppingLenghtOptionSplit
  • firstImageIsPreview
  • forceFirstImageIsPreview
  • myTS
  • template_file
  • altLayoutsOptionSplit
  • maxWordsInSingleView
  • catImageMode
  • catImageMaxWidth
  • catImageMaxHeight
  • maxCatImages
  • catTextMode
  • maxCatTexts
  • alternatingLayouts

使用方法

重要:在记录迁移后运行插件迁移!

# Gives you some information about how many plugins are still to be migrated
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:check
# Creates the plugins for *EXT:news* by creating a new record below the plugin of *EXT:tt_news*.
# This makes it possible for you to cross check the migration and adapt the plugins.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:run
# Replace tt_news plugins directly without creating copies.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:replace
# Hide the old tt_news plugins.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:removeOldPlugins

# Deletes the old tt_news plugins.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:removeOldPlugins delete=1

已知问题

请参阅文档/Misc/Index.rst 中的常见问题解答部分。