nitra/e-commerce-admin-priceaggregatebundle

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

priceaggregate bundle

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

v2.0.0 2015-02-11 11:15 UTC

This package is auto-updated.

Last update: 2018-04-08 17:34:33 UTC


README

Enable the bundle

Enable the bundle in the kernel:

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Nitra\PriceAggregateBundle\NitraPriceAggregateBundle(),
        // ...
    );
}

Import the routing

Import the routing

# app/config/routing.yml

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

Add in menu translations

`yaml

app/Resources/translations/menu.en.yml

priceAggregate: "Settings to create a file for the price-aggregators"


```yaml
# app/Resources/translations/menu.en.yml
priceAggregate: "Настройки формирования файла для прайс-агрегаторов"

Add in menu

millwright_menu:
    items: #menu items
        priceAggregate:
            translateDomain: 'menu'    
            route: Nitra_PriceAggregateBundle_PriceAggregate_list
            
    tree: #menu containers
        main: #main container
            type: navigation # menu type id
            children:
                priceAggregate: ~