dev-master
9999999-devModule for organization feeds for Cookyii CMF
BSD-3-Clause
The Requires
by Revin Roman
yii2 module feed list media news cmf cookyii
Wallogit.com
2017 © Pedro Peláez
Module for organization feeds for Cookyii CMF
composer require cookyii/module-feed:dev-master
In backend app config
in section modules add cookyii\modules\Feed\backend\Module
and in section bootstrap add feed:, (*1)
// ./backend-app/config/app.php
return [
// ...
'bootstrap' => [
// some components ...
'feed'
],
'modules' => [
// some modules ...
'feed' => 'cookyii\modules\Feed\backend\Module',
],
// ...
];
Also, you need to configure the following modules (they are already downloaded):, (*2)
// ./backend-app/config/app.php
return [
// ...
'bootstrap' => [
// some components ...
'feed', 'media'',
],
'modules' => [
// some modules ...
'feed' => 'cookyii\modules\Feed\backend\Module',
'media' => 'cookyii\modules\Media\backend\Module',
],
// ...
];
In rbac/update command add "merge" class cookyii\modules\Feed\backend\Permissions:, (*3)
// ./common/commands/RbacCommand.php
class RbacCommand extends \rmrevin\yii\rbac\Command
{
public $backendMerge = [
// ...
'cookyii\modules\Feed\backend\Permissions',
];
// ...
}
./backend rbac/update
./frontend migrate
Module for organization feeds for Cookyii CMF
BSD-3-Clause
yii2 module feed list media news cmf cookyii