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

Installs: 2 270

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 5

Forks: 4

Open Issues: 0

Type:yii2-module

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',
    ],
]
```