ns / ace-sonata-bundle
This bundle integrates the sonata admin panel and the ace bundle
Package info
github.com/NobletSolutions/AceSonataBundle
Language:HTML
Type:symfony-bundle
pkg:composer/ns/ace-sonata-bundle
2.1.7
2018-11-13 21:44 UTC
Requires
- php: >=5.3.3
- ns/ace-bundle: ^1.5|^2.0|^3.0
- sonata-project/admin-bundle: ^3.0
- symfony/symfony: ^2.8|^3.0
Requires (Dev)
- liip/rmt: ~1.1
README
Install using composer.json
If you are using composer to manage your project, just add the following line to your composer.json file
{
"require": {
"ns/ace-sonata-bundle": "dev-master"
}
}
Then update the vendor libraries:
composer.phar update # OR composer.phar update ns/ace-sonata-bundle # to only update the bundle
Register the bundle
You must register the bundle in your kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new NS\AceSonataBundle\NSAceSonataBundle(),
);
// ...
}
Configure
Configure sonata to use the ace bundle themed layouts.
#app/config/config.yml
sonata_admin:
templates:
layout: NSAceSonataBundle::layout.html.twig
pager_links: NSAceSonataBundle::pager.html.twig
edit: NSAceSonataBundle:CRUD:edit.html.twig