maks757/seo_static_page
Composer 安装命令:
composer require maks757/seo_static_page
包简介
Module for static pages
README 文档
README
Static pages seo-data extension
php yii migrate --migrationPath=@vendor/maks757/seo_static_page/migrations
Usage
Add behavior to controller with unique key. This key you will use in admin panel of module for setting this page:
public function behaviors() { return [ 'staticPage' => [ 'class' => StaticPageBehavior::className(), 'key' => 'shop' ] ]; }
Then add in action next record. It adds to your page title, meta-description and meta-keywords:
$this->registerStaticSeoData();
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-06-06