yii2-extension yii2-content
Yii 2 content control module with nested set
ragaga/yii2-content
Yii 2 content control module with nested set
- Wednesday, March 11, 2015
- by Ragaga
- Repository
- 2 Watchers
- 0 Stars
- 24 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Yii 2 Content
Yii 2 Content - Content module based on nested set tree;, (*1)
Features
- Easy install
- Work with seo tags
- Work with images
- Tree
Installation
- Install package via composer
"ragaga/yii2-content": "dev-master"
- Update config file config/web.php
// app/config/web.php
return [
'modules' => [
'content' => [
'class' => 'ragaga\yii2\content\Content',
'imageDir' => "@app/web/image", // Image for upload files
'imageUrl' => "/image" // Url to images
],
],
];
- Run migration file
php yii migrate --migrationPath=@vendor/ragaga/yii2-content/migrations
- Go to your application in your browser
http://localhost/pathtoapp/content/admin
- Create your page content
dev-master
9999999-dev
Yii 2 content control module with nested set
Sources
Download
MIT
The Requires
by
Ragaga
yii2
yii
content