2017 © Pedro Peláez
 

yii2-extension module-feed

Module for organization feeds for Cookyii CMF

image

cookyii/module-feed

Module for organization feeds for Cookyii CMF

  • Friday, February 3, 2017
  • by rmrevin
  • Repository
  • 1 Watchers
  • 1 Stars
  • 300 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Module for organization feeds

Installation

composer require cookyii/module-feed:dev-master

Configuration

1. Update config

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',
    ],
    // ...
];

2. Dependencies

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',
    ],
    // ...
];

3. Add new permissions

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

    // ...
}

4. Update permissions

./backend rbac/update

5. Execute new migrations

./frontend migrate

The Versions

03/02 2017

dev-master

9999999-dev

Module for organization feeds for Cookyii CMF

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 module feed list media news cmf cookyii