2017 © Pedro Peláez
 

yii2-extension yii2-articles

Articles extension for the Yii framework

image

maks757/yii2-articles

Articles extension for the Yii framework

  • Monday, November 7, 2016
  • by maks757
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 29 Versions
  • 0 % Grown

The README.md

Articles Extension for Yii 2

INSTALLATION

Composer require section

"black-lamp/yii2-articles": "0.*"

Migrate

php yii migrate --migrationPath=@yii/rbac/migrations
php yii migrate --migrationPath=@vendor/black-lamp/yii2-multi-lang/migration
php yii migrate --migrationPath=@vendor/black-lamp/yii2-articles/common/migrations
php yii migrate --migrationPath=@vendor/black-lamp/yii2-seo/migrations

Add articles module to your backend config

    'modules' => [
        ...
        'articles' => [
            'class' => 'bl\articles\backend\Module'
        ],
        ...
    ]

Add articles module to your frontend config

    'modules' => [
        ...
        'articles' => [
            'class' => 'bl\articles\frontend\Module'
        ],
        ...
    ]

Configure seo-url rule

    'urlManager' => [
        ...
        'rules' => [
            ...
            [
                'class' => 'bl\articles\UrlRule'
            ]
        ]
    ]

Configure Imagable module

    'components' => [
        ...
        'articles_imagable' => [
            'class' => bl\imagable\Imagable::className(),
            'imageClass' => CreateImageImagine::className(),
            'nameClass' => bl\imagable\name\CRC32Name::className(),
            'imagesPath' => '@frontend/web/images',
            'categories' => [
                'origin' => false,
                'category' => [
                    'thumbnail' => [
                        'origin' => false,
                        'size' => [
                            'big' => [
                                'width' => 1500,
                                'height' => 500
                            ],
                            'thumb' => [
                                'width' => 500,
                                'height' => 500,
                            ],
                            'small' => [
                                'width' => 150,
                                'height' => 150
                            ]
                        ]
                    ],
                    'menu_item' => [
                        'origin' => false,
                        'size' => [
                            'big' => [
                                'width' => 1500,
                                'height' => 500
                            ],
                            'thumb' => [
                                'width' => 500,
                                'height' => 500,
                            ],
                            'small' => [
                                'width' => 150,
                                'height' => 150
                            ]
                        ]
                    ],
                    'social' => [
                        'origin' => true,
                        'size' => [
                            'big' => [
                                'width' => 1500,
                                'height' => 500
                            ],
                            'thumb' => [
                                'width' => 500,
                                'height' => 500,
                            ],
                            'small' => [
                                'width' => 150,
                                'height' => 150
                            ]
                        ]
                    ],
                ]
            ]
        ],
    ]

Use

yourbackend.url/articles/article

**YOU MUST CONFIGURE IMAGABLE COMPONENT**

Roles and its permissions:, (*1)

articleManager - viewArticleList - editArticles - deleteArticles, (*2)

articleCategoryManager - viewCategoryList - editCategories - deleteCategories, (*3)

articleAdministrator extends category and article manager's permissions., (*4)

The Versions

07/11 2016

dev-master

9999999-dev

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

07/11 2016

0.7.01

0.7.01.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

25/10 2016

0.6.4.6

0.6.4.6

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

25/10 2016

0.6.4.5

0.6.4.5

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

25/10 2016

0.6.4.4

0.6.4.4

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

25/10 2016

0.6.4.3

0.6.4.3

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

24/10 2016

0.6.4.2

0.6.4.2

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

06/09 2016

0.6.4.1

0.6.4.1

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

30/08 2016

0.6.4

0.6.4.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

30/08 2016

0.6.3

0.6.3.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

30/08 2016

0.6.2

0.6.2.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

30/08 2016

0.6.1

0.6.1.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

26/08 2016

0.6

0.6.0.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

10/08 2016

0.5.2

0.5.2.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

05/07 2016

0.5.1

0.5.1.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

08/06 2016

0.5

0.5.0.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

17/05 2016

0.4.1

0.4.1.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

15/05 2016

0.4

0.4.0.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

13/05 2016

0.3.8

0.3.8.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

12/05 2016

0.3.7

0.3.7.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

11/05 2016

0.3.6

0.3.6.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

11/05 2016

0.3.5

0.3.5.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

11/05 2016

0.3.4

0.3.4.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

10/05 2016

0.3.3

0.3.3.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

06/05 2016

0.3.1

0.3.1.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

05/05 2016

0.3

0.3.0.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

04/05 2016

0.2

0.2.0.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

14/04 2016

0.1.2.2

0.1.2.2

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

06/04 2016

0.1.2

0.1.2.0

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles