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
0.0.3
2015-04-22 00:18 UTC
Requires
Requires (Dev)
- schmunk42/yii2-giiant: dev-master
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',
],
]
```