kalamu/default-bootstrap-template-bundle

Default Bootstrap template for Kalamu CMS

dev-master / 1.0.x-dev 2019-08-13 14:06 UTC

This package is auto-updated.

Last update: 2024-04-14 02:02:52 UTC


README

This bundle is an example Bootstrap template for Kalamu. The original template has been generously published under the MIT licence on HackerThemes by Alexander Rechsteiner.

Example screenshot Screenshot

Installation

First you must install Kalamu CMS then you can install this theme with composer :

composer require kalamu/default-bootstrap-template-bundle

Register the bundle in app/AppKernel.php :

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            //...
            new Kalamu\DefaultBootstrapTemplateBundle\KalamuDefaultBootstrapTemplateBundle(),
        ];
    }
}

Register the routing in app/config/routing.yml :

# Add at the top of the file
kalamu_default_bootstrap_template_bundle:
    resource: "@KalamuDefaultBootstrapTemplateBundle/Resources/config/routing.yml"
    prefix:   /_fragment

Then you website should use the new template. If not check that the template configuration in the kalamu_cms_core section of the main configuration (app/config/config.yml) has not been overrided.