maks757 / seo_static_page
There is no license information available for the latest version (v2.1.14) of this package.
Module for static pages
Package info
github.com/maks757/seo-static-page
Type:yii2-extension
pkg:composer/maks757/seo_static_page
v2.1.14
2018-01-18 16:19 UTC
Requires
- php: >=5.4.0
- 2amigos/yii2-tinymce-widget: *
- maks757/yii2-seo: *
- yii2tech/ar-position: *
- yiisoft/yii2: >=2.0.4
- yiisoft/yii2-bootstrap: *
This package is not auto-updated.
Last update: 2026-03-01 09:43:10 UTC
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();