mandarinmedien/mmcmfcontentbundle

This is the bridge between doctrine content entities and twig which will be the base of the MMCmfBundle

Installs: 158

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

0.3.5 2023-10-06 08:17 UTC

README

Append to app/AppKernel.php

You need to add the bundle to your app/AppKernel.php.

...
    public function registerBundles()
    {
        $bundles = array(
            ...
            new MandarinMedien\MMCmfContentBundle\MMCmfContentBundle(),
            ...
            );
    ....
    }
...

Append to app/config/config.yml

...
imports:
    - ...
    - { resource: '@MMCmfContentBundle/Resources/config/config.yml' }
    - ...
...

Config -> app/config/config.yml

...
mm_cmf_content:
    content_nodes:
        contentNode:
            templates:
              - { name: 'default' }
              - { name: 'tile' }
        myCustomContentNode:
            templates:
              - { name: 'default' }
...

install and initiate assets

...
shell:PROJECT_ROOT: cd  vendor/mandarinmedien/mmcmfcontentbundle/MandarinMedien/MMCmfContentBundle && bower update && cd ../../../../../ && bin/console as:in --symlink && bin/console assetic:dump
...