ns / ace-sonata-bundle
This bundle integrates the sonata admin panel and the ace bundle
Installs: 3 387
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Type:symfony-bundle
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