Skip to content

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

License

Notifications You must be signed in to change notification settings

Mandarin-Medien/MMCmfContentBundle

Repository files navigation

MMCmfContentBundle

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
...

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published