heimrichhannot / contao-migration-bundle
Contao 4 迁移项目包
0.9.0
2020-05-25 14:40 UTC
Requires
- php: ^7.1
- contao/core-bundle: ^4.4
- heimrichhannot/contao-utils-bundle: ^2.19
Suggests
- heimrichhannot/contao-blocks: ^1.5.2
- heimrichhannot/contao-filter-bundle: ^1.0.0-beta96
- heimrichhannot/contao-list-bundle: ^1.0.0-beta46
- heimrichhannot/contao-reader-bundle: ^1.0.0-beta45
README
各种迁移脚本的集合。
功能
- 将前端模块转换为Filter/List/Reader模块
- News Plus 前端模块
- Owl carousel 新闻列表
- 将模块移动到blocks
- 将新闻类别移动到Categories
- 迁移
- contao-legacy/fry_accessible_tabs迁移到heimrichhannot/contao-tab-control-bundle
需求
- Contao 4.4
- Filter-/List-/Readerbundle
- Contao Blocks: ^1.5.2
命令
使用[命令] --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 | 不用块替换模块。