nitra/e-commerce-admin-reviewbundle

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

nep admin review bundle

Installs: 131

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

dev-master 2015-03-27 11:32 UTC

This package is auto-updated.

Last update: 2018-04-08 17:29:01 UTC


README

предназначен для:

  • управления отзывами

Enable the bundle

Enable the bundle in the kernel:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
       
       new Nitra\ReviewBundle\NitraReviewBundle(),
    );
}

Enable the bundle in the config.yml:

genemu_form:
    autocomplete: ~
    autocompleter:
        mongodb: true
    select2: ~
    date: ~

Import the routing

Import the routing

# app/config/routing.yml

NitraReviewBundle:
    resource:    "@NitraReviewBundle/Resources/config/routing.yml"
    prefix:      /{_locale}/
    defaults:
        _locale: ru
    requirements:
        _locale: en|ru

Add in menu

items: #menu items
    # ...
    reviewTable:
        translateDomain: 'menu'
        route: Nitra_ReviewBundle_Review_list
    # ...
    reviewSettings:
        translateDomain: 'menu'
        route: NitraReviewBundle_Settings
    # ...