THIS PROJECT IS NO LONGER MAINTAINED by Ikimea, (*1)
Quick Installation
``` bash
$ composer require ikimea/page-bundle "dev-master", (*2)
### Add bundle to your application kernel
``` php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Ikimea\PageBundle\IkimeaPageBundle(),
new FOS\JsRoutingBundle\FOSJsRoutingBundle(),
new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
// ...
);
}
Register the routing definition in app/config/routing.yml:, (*3)
``` yaml, (*4)
app/config/routing.yml
IkimeaPageBundle:
resource: "@IkimeaPageBundle/Resources/config/routing.yml"
prefix: /, (*5)
fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml", (*6)
### Usage
Add lines in your layout:
{% include 'IkimeaPageBundle:Default:css.html.twig' %}
{% include 'IkimeaPageBundle:Default:toolbar.html.twig' %}
{% include 'IkimeaPageBundle:Default:js.html.twig' %}
### Install assets
``` bash
$ php app/console assets:install web --symlink