2017 © Pedro Peláez
 

symfony-bundle krcms-bundle

Content Management System bundle for symfony 2

image

kr-solutions/krcms-bundle

Content Management System bundle for symfony 2

  • Thursday, April 5, 2018
  • by K&R Solutions
  • Repository
  • 1 Watchers
  • 0 Stars
  • 190 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 37 Versions
  • 0 % Grown

The README.md

krcms-bundle

Content Management System for integration in (existing) Symfony 3 projects., (*1)

Easy to connect with your own security and user management (bundle)., (*2)

Installation

Step 1: Composer

Add KRSolutionsKRCMSBundle to your composer.json, (*3)

{
    "require": {
        "kr-solutions/krcms-bundle": "~1",
    }
}

also add component-dir under config node of composer.json, (*4)

{
    "config": {
        "component-dir": "web/assets"
    }
}

Now tell composer to download the bundle by running the command:, (*5)

composer update kr-solutions/krcms-bundle

Step 2: Enable the bundle

Enable the bundle in the kernel:, (*6)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new KRSolutions\Bundle\KRCMSBundle\KRSolutionsKRCMSBundle(),
        new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
        new FM\ElfinderBundle\FMElfinderBundle(),
        // ...
    );
}

Step 3: Import KRSolutionsKRCMSBundle routing files

Problably before all your other routing, but after your security routing, insert:, (*7)

(you can change the prefix, but remember to use the same prefix in the next step (security.yml))., (*8)

``` yaml, (*9)

app/config/routing.yml

kr_solutions_krcms_admin: resource: "@KRSolutionsKRCMSBundle/Resources/config/routing_admin.yml" prefix: /cms, (*10)

kr_solutions_krcms: resource: "@KRSolutionsKRCMSBundle/Resources/config/routing.yml" prefix: /, (*11)


### Step 4: Configure your application's security.yml Secure the CMS with access_control, you can use your own roles here: ``` yaml # app/config/security.yml security: //.... access_control: //.... - { path: ^/cms/, role: ROLE_USER }

Step 5: Minimal configuration

This bundle needs to know which user class to use for cms users. This can be your own, using your own login screens etc., (*12)

This user class has to have an identifier field called 'id' for it's relationships. If you are using another primary field name: bad luck. Try to change it or fork this bundle., (*13)

# app/config/config.yml

# Enable the translator
parameters:
    locale: en

framework:
    #....
    translator:      { fallbacks: ["%locale%"] }
    #....

# KRSolutionsKRCMSBundle configuration
kr_solutions_krcms:
    db_driver: orm # Currently only the orm driver is supported
    model:
        user_class: AppBundle\Entity\User

Step 6: Install assets & update the database schema

php bin/console assets:install --relative
php bin/console doctrine:schema:update --force

Optional: Implement custom username implementation for display in this CMS

The system is trying to find out the username for display in the CMS by trying to get the following methods from the user class:, (*14)

  • getKRCMSUsername()
  • getUsername()
  • getId()

The Versions

16/09 2017

1.1.3

1.1.3.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

16/09 2017

1.1.2

1.1.2.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

16/09 2017

1.1.1

1.1.1.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

09/06 2017

1.1.0

1.1.0.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

02/03 2017

1.0.6

1.0.6.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

02/03 2017

1.0.5

1.0.5.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

18/02 2017

1.0.4

1.0.4.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

17/02 2017

1.0.3

1.0.3.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

08/02 2017

1.0.2

1.0.2.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

07/02 2017

1.0.1

1.0.1.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

26/12 2016

1.0.0

1.0.0.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 3

  Sources   Download

MIT

The Requires

 

by Rudy Adamse

28/10 2016

0.0.11

0.0.11.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

19/12 2015

dev-klantenId

dev-klantenId https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

19/12 2015

0.0.10

0.0.10.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

06/10 2015

0.0.9

0.0.9.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

24/09 2015

0.0.8

0.0.8.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

24/09 2015

0.0.7

0.0.7.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

24/09 2015

0.0.6

0.0.6.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

23/09 2015

0.0.5

0.0.5.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

18/09 2015

0.0.4

0.0.4.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

30/05 2015

0.0.3

0.0.3.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

30/05 2015

0.0.2

0.0.2.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

30/05 2015

0.0.1

0.0.1.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse

30/05 2015

0.0.0

0.0.0.0 https://www.kr-solutions.nl/

Content Management System bundle for symfony 2

  Sources   Download

proprietary

The Requires

 

by Rudy Adamse