dmstr/yii2-news-module

This package is abandoned and no longer maintained. No replacement package was suggested.

yii2 news module with text blocks image and video gallery, with yii2 moximanager

Maintainers

Package info

github.com/dmstr/yii2-news-module

Type:yii2-module

pkg:composer/dmstr/yii2-news-module

Statistics

Installs: 2 270

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

0.0.3 2015-04-22 00:18 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:46:50 UTC


README

Dev-config

put this into your app/config/bootstrap.php

```
\Yii::$container->set(
    'schmunk42\giiant\crud\providers\CallbackProvider',
    [
        'columnFormats' => [

            /**
             * hide system fields in grid
             */
            '^id$|created_at$|updated_at$' => function () {
                return false;
            },

        ],
        'activeFields' => [

            /**
             * hide system fields in grid
             */
            '^id$|created_at$|updated_at$' => function () {
                return false;
            },

        ]
    ]
);
```

put this into your app/config/main.php

```
'modules'    => [
    'news'  => [
        'class'  => \dmstr\modules\news\Module::className(),
        'layout' => '@admin-views/layouts/main',
    ],
]
```