2017 © Pedro Peláez
 

yii2-extension yii2-articles

Articles extension for the Yii framework

image

black-lamp/yii2-articles

Articles extension for the Yii framework

  • Sunday, April 15, 2018
  • by GutsVadim
  • Repository
  • 6 Watchers
  • 0 Stars
  • 374 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 43 Versions
  • 1 % 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

15/04 2018

dev-master

9999999-dev

Articles extension for the Yii framework

  Sources   Download

The Requires

 

by Gutsulyak Vadim
by Cherednyk Maxim

yii2 articles

15/04 2018
05/02 2018
13/11 2017
22/09 2017
10/09 2017
10/09 2017
29/08 2017
30/04 2017
07/03 2017
19/01 2017
09/12 2016
05/12 2016
28/11 2016
21/11 2016
07/11 2016

0.6.5

0.6.5.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