webtown/kunstmaan-extension-bundle

Kunstmaan extension bundle

2.0.5 2017-04-06 13:43 UTC

README

This bundle add new feature to KunstmaanCMSBundle:

  • Auto cache purge + cache purge page (Settings --> Cache purge)
  • JMSTranslateBundle integration (with a fork!)
  • Custom page parts: Gallery, InsertPage, Slider
  • Make searchable entity from custom entity

Install

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require webtown/kunstmaan-extension-bundle 

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Webtown\KunstmaanExtensionBundle\WebtownKunstmaanExtensionBundle(),
            new JMS\TranslationBundle\JMSTranslationBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Add the route

Add the route to app/config/routing.yml:

#KunstmaanExtensionBundle
KunstmaanExtensionBundle:
    resource: "@WebtownKunstmaanExtensionBundle/Resources/config/routing.yml"
    prefix:   /

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.