infoweb-internet-solutions/yii2-taxonomy
Composer 安装命令:
composer require infoweb-internet-solutions/yii2-taxonomy
包简介
Taxonomy module for Yii2
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require infoweb-internet-solutions/yii2-taxonomy "*"
or add
"infoweb-internet-solutions/yii2-taxonomy": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply modify your backend configuration as follows (if you have the infoweb/cms module installed):
'modules' => [ ... 'taxonomy' => [ 'class' => 'infoweb\taxonomy\Module', ], ... 'cms' => [ 'sideBarItems' => [ 'modules' => [ [ 'label' => 'Taxonomy', 'i18nGroup' => 'infoweb/taxonomy', 'url' => '/taxonomy/term', 'authItem' => 'showTaxonomyModule', ], ], ], ], ],
Import the translations and use category 'infoweb/taxonomy':
yii i18n/import @infoweb/taxonomy/messages
To use the module, execute yii migration
yii migrate/up --migrationPath=@vendor/infoweb-internet-solutions/yii2-taxonomy/migrations
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-30