twin-elements/core-bundle

Symfony 3 Twin Elements CMS Core bundle

Installs: 62

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.0.2.1 2017-07-28 06:02 UTC

This package is auto-updated.

Last update: 2024-04-23 20:44:37 UTC


README

Symfony 3 Core bundle for CMS JELLINEK

  1. Download this bundle to your project first. The preferred way to do it is to use Composer package manager:

    $ composer require twin-elements/core-bundle

    NOTE: If you haven't installed Composer yet, check the [installation guide][2].

    NOTE: If you're not using Composer, add the CoreBundle to your autoloader manually.

  2. Add this bundle to your application's kernel:

    // app/AppKernel.php
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new TwinElements\CoreBundle\TwinElementsCoreBundle(),
            // ...
        );
    }
  3. Add to routing.yml

    twin_elements_core:
        resource: "@TwinElementsCoreBundle/Controller/"
        prefix:   /
    

Usage

Add .scss files to main style.scss

Add javascripts

To include cookies

{% include '@TwinElementsCore/cookies/cookies.html.twig' %}

To include push-alerts

{% include '@TwinElementsCore/alerts/alerts.html.twig' %}