ikimea / page-bundle
A simple CMS system for Symfony 2
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- egeloen/ckeditor-bundle: 2.*
- friendsofsymfony/jsrouting-bundle: dev-master
- knplabs/knp-menu-bundle: 1.1.*
- simplethings/entity-audit-bundle: 0.*@dev
- sonata-project/seo-bundle: dev-master
This package is auto-updated.
Last update: 2022-02-01 12:20:41 UTC
README
THIS PROJECT IS NO LONGER MAINTAINED by Ikimea
Quick Installation
$ composer require ikimea/page-bundle "dev-master"
Add bundle to your application kernel
// 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:
# app/config/routing.yml IkimeaPageBundle: resource: "@IkimeaPageBundle/Resources/config/routing.yml" prefix: / fos_js_routing: resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
Usage
Add lines in your layout:
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> <script src="{{ path('fos_js_routing_js', {"callback": "fos.Router.setData"}) }}"></script>{% include 'IkimeaPageBundle:Default:css.html.twig' %} {% include 'IkimeaPageBundle:Default:toolbar.html.twig' %} {% include 'IkimeaPageBundle:Default:js.html.twig' %}
Install assets
$ php app/console assets:install web --symlink