heimrichhannot/contao-migration-bundle

Contao 4 迁移项目包

0.9.0 2020-05-25 14:40 UTC

This package is auto-updated.

Last update: 2024-08-25 23:31:44 UTC


README

各种迁移脚本的集合。

功能

需求

命令

使用[命令] --help获取更多信息。

模块

将新闻存档菜单转换为Filter Bundle

用法

huh:migration:module:newsmenu [options]

选项

自:0.4.0

将Owl Carousel新闻列表转换为Filter/List模块

用法

huh:migration:module:owlcarousel [options]

选项

自:0.2.0

将News Plus模块转换为Filter/List/Readerbundle模块

用法

huh:migration:module:newsplus [options]

选项

将News Plus阅读器模块转换为Filter/Readerbundle模块

将tl_module类型:newsreader模块迁移到huhreader,并从旧的tl_module设置创建阅读器配置。

用法

migration:module:newsreader [options]

选项

内容元素

将标签转换为Tab Control Bundle

支持的源模块

  • contao-legacy/fry_accessible_tabs

用法

huh:migration:ce:tab_control_bundle [options]

选项

自:0.3.0

其他

新闻类别到Categories Bundle

从news_categories模块迁移数据库条目到heimrichhannot/contao-categories。

用法

huh:migration:db:news_categories [<field>] [options]

参数

选项

将模块移动到块

将指定的模块移动到块中。

用法

huh:migration:movetoblock [options] [--] <modules> (<modules>)...

参数

选项

  --ignore-types   | Don't set custom module settings for block module like !autoitem for reader module.
  --dry-run        | Preview command without changing the database.

-t, --title=TITLE | 为新块设置块名称。如果未设置,则使用第一个模块的名称。--no-replace | 不用块替换模块。