2017 © Pedro Peláez
 

yii2-extension yii2-data-articles

Articles module.

image

maks757/yii2-data-articles

Articles module.

  • Monday, March 12, 2018
  • by maks757
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 4 % Grown

The README.md

yii2-data-articles

migration

yii migrate --migrationPath=@vendor/maks757/yii2-data-articles/migrations
yii migrate --migrationPath=@vendor/maks757/embeddable-gallery/migrations

backend config

'modules' => [
    'articles' => [
        'class' => \maks757\articlesdata\ArticleModule::className(),
    ],
    'egallery' => [
        'class' => \maks757\egallery\GalleryModule::className()
    ],
    //...
],

common config

'components' => [
    //start imagine
    'article' => [
        'class' => \maks757\imagable\Imagable::className(),
        'imageClass' => CreateImageMetaMulti::className(),
        'nameClass' => GenerateName::className(),
        'imagesPath' => '@frontend/web/images',
        'categories' => [
            'category' => [
                'article' => [
                    'size' => [
                        'origin' => [
                            'width' => 0,
                            'height' => 0,
                        ],
                        'thumb' => [
                            'width' => 300,
                            'height' => 300,
                        ]
                    ]
                ],
                'images' => [
                    'size' => [
                        'origin' => [
                            'width' => 0,
                            'height' => 0,
                        ],
                        'thumb' => [
                            'width' => 300,
                            'height' => 300,
                        ]
                    ]
                ]
            ]
        ]
    ],
    'egallery' => [
        'class' => \maks757\imagable\Imagable::className(),
        'imageClass' => CreateImageMetaMulti::className(),
        'nameClass' => GenerateName::className(),
        'imagesPath' => '@frontend/web/images',
        'categories' => [
            'category' => [
                'egallery' => [
                    'size' => [
                        'origin' => [
                            'width' => 0,
                            'height' => 0,
                        ],
                        'thumb' => [
                            'width' => 300,
                            'height' => 300,
                        ]
                    ]
                ]
            ]
        ]
    ],
    //end imagine
    //...
],

Alt text, (*1)

VK
Google
GitHub, (*2)

The Versions

29/01 2017

0.0.003

0.0.003.0

Articles module.

  Sources   Download

The Requires

 

by Max Cherednyk

articles

29/01 2017

0.0.002

0.0.002.0

Articles module.

  Sources   Download

The Requires

 

by Max Cherednyk

articles

29/01 2017

0.0.001

0.0.001.0

Articles module.

  Sources   Download

The Requires

 

by Max Cherednyk

articles