2017 © Pedro Peláez
 

library yii2-blog

Yii2 blog module forked from pendalf89 for improvement and learning purpose

image

esoftslimited/yii2-blog

Yii2 blog module forked from pendalf89 for improvement and learning purpose

  • Saturday, August 29, 2015
  • by Esofts
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-blog

Yii2 blog module, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist pendalf89/yii2-blog "*"

or add, (*4)

"pendalf89/yii2-blog": "*"

to the require section of your composer.json file., (*5)

Apply migration, (*6)

yii migrate --migrationPath=vendor/pendalf89/yii2-blog/migrations

Configuration:, (*7)

'modules' => [
    'blog' => [
        'class' => 'pendalf89\blog\Module',
        // This option automatically translit entered titles 
        // from russian symbols to english on fly. Default false.
        'autoTranslit' => true, 
        // Some options for CKEditor. Default custom options.
        'editorOptions' => [],
        // callback function for create post view url. Have $model argument.
        'viewPostUrlCallback' => function($model) {
                return '/' . $model->id;
            },
    ],
],

Don't forget configure PendalF89/yii2-filemanager extension., (*8)

The Versions

29/08 2015

dev-master

9999999-dev

Yii2 blog module forked from pendalf89 for improvement and learning purpose

  Sources   Download

GNU GPLv2

The Requires

 

by Elijah Mwangi