nitra / e-commerce-admin-informationbundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
nep admin information bundle
2.0.0
2015-02-12 15:22 UTC
This package is auto-updated.
Last update: 2018-04-08 17:49:34 UTC
README
Описание
данный бандл предназначен для:
- создания и редактирования категорий статей и самих статей
Подключение
- composer.json
{
...
"require": {
...
"nitra/e-commerce-admin-informationbundle": "dev-master",
...
}
...
}
- app/AppKernel.php
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
//...
public function registerBundles()
{
//...
$bundles = array(
//...
new Nitra\InformationBundle\NitraInformationBundle(),
//...
);
//...
return $bundles;
}
//...
}
- routing.yml
nitra_information:
resource: "@NitraInformationBundle/Resources/config/routing.yml"
prefix: /{_locale}/
defaults:
_locale: ru
requirements:
_locale: en|ru
- menu.yml
informationCategory:
translateDomain: 'menu'
route: Nitra_InformationBundle_InformationCategory_list
information:
translateDomain: 'menu'
route: Nitra_InformationBundle_Information_list