mandarinmedien/mmcmfadminbundle

This SymfonyBundles will combine all MMCmf-SymfonyBundles to a fully functional PageAdminSystem.

0.1.19 2018-03-21 14:41 UTC

README

Append to app/AppKernel.php

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

Append to app/config/config.yml

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

Append to App/config/routing.yml

...

mm_cmf_admin:
    resource: "@MMCmfAdminBundle/Resources/config/routing.yml"
    
mm_cmf_content:
    resource: "@MMCmfContentBundle/Resources/config/routing.yml"
    prefix:   /mmcmfcontent

... other routings ...
    
# put this at the very last     
mm_cmf_routing:
    resource: "@MMCmfRoutingBundle/Resources/config/routing.yml"

...

install and initiate assets

...
# initates the MMCmfContentBundle
shell:PROJECT_ROOT: cd vendor/mandarinmedien/mmcmfcontentbundle/MandarinMedien/MMCmfContentBundle && bower update && cd ../../../../../ && app/console as:in --symlink && app/console assetic:dump
# initates the MMCmfAdminBundle
shell:PROJECT_ROOT: cd vendor/mandarinmedien/mmcmfadminbundle/MandarinMedien/MMCmfAdminBundle && bower update && cd ../../../../../ && app/console as:in --symlink && app/console assetic:dump
shell:PROJECT_ROOT: app/console as:wa

...