ws-cv-ua/faq
Composer 安装命令:
composer require ws-cv-ua/faq
包简介
F.A.Q multilanguage module (backend) and output widget (frontend)
README 文档
README
Installation
- To install, run
$ composer require ws-cv-ua/faq
- Run migration command
yii migrate --migrationPath=@vendor/ws-cv-ua/faq/migrations
- In Backend:
'modules' => [ ... 'faq' => [ 'class' => 'wscvua\faq\Module', 'languages' => ['ru', 'en'] ], ... ],
languagesparameter is not required. If it's empty,languageswill have value of language of the app.
The Controller Views developed and test only for AdminLTE template.
Usage
use wscvua\faq\widgets\FaqWidget; echo FaqWidget::widget();
By default widget show record of app language. But you can set language manual.
For config output html, you can set
listOptions. There are config of ListView widget
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-09