nitra / e-commerce-admin-seobundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
nep admin seo bundle
dev-master
2015-03-03 13:33 UTC
This package is auto-updated.
Last update: 2018-04-08 17:39:58 UTC
README
Описание
данный бандл предназначен для:
- для управления сео текстами, сео шаблонами
Подключение
- composer.json
{
...
"require": {
...
"nitra/e-commerce-admin-seobundle": "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\SeoBundle\NitraSeoBundle(),
//...
);
//...
return $bundles;
}
//...
}
- routing.yml
nitra_seo:
resource: "@NitraSeoBundle/Resources/config/routing.yml"
prefix: /{_locale}/
defaults:
_locale: ru
requirements:
_locale: en|ru
- menu.yml
seo:
translateDomain: 'menu'
route: Nitra_SeoBundle_Seo_list
seoTemplate:
translateDomain: 'menu'
route: Nitra_SeoBundle_SeoTemplate_list