asbsoft/yii2module-news_3b_171202
Composer 安装命令:
composer require asbsoft/yii2module-news_3b_171202
包简介
Second extension of Yii2 news module-package
关键字:
README 文档
README
Basic (ancestor) module-package is news_2b_161124, which inherited module-package news_1b_160430.
New feature(s) in version news_3b_171202:
- Add submodule "tags". Every news can belong to category(es) describes by tag(s) You can add anywhere in view-templates list of news tags by widget-action: runAction("NEWS_MODULE_UNIQUE_ID/tags/main/tags-cloud") ?> or if use content-module asbsoft/yii2module-content_2_170309 any content-page can contain: {{%render action='NEWS_MODULE_UNIQUE_ID/tags/main/tags-cloud'}}
- Add widget-action "latest news". It can be used in view-template: runAction("NEWS_MODULE_UNIQUE_ID/main/latest-news", ['count' => NN]) ?> or in content-page of asbsoft/yii2module-content_2_170309: {{%render action='NEWS_MODULE_UNIQUE_ID/main/latest-news', count=NN}}
You can set parent module news_1b_160430 instead of news_2b_161124 and lost functionality from news_2b_161124 (news backup/restore and slugs for URLs). For this you have to modify such files:
- Module.php
- config/routes-admin.php, routes-main.php
- controllers/AdminController.php, MainController.php
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-12-21