nitra / e-commerce-admin-priceaggregatebundle

此包已被弃用且不再维护。未建议替代包。

priceaggregate bundle

安装: 42

依赖项: 0

建议者: 0

安全性: 0

类型: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

启用此包

在内核中启用此包

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

导入路由

导入路由

# app/config/routing.yml

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

添加到菜单翻译

`yaml

app/Resources/translations/menu.en.yml

priceAggregate: "设置以创建价格聚合器的文件"


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

添加到菜单

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: ~