mandarinmedien / mmcmfcontentbundle
This is the bridge between doctrine content entities and twig which will be the base of the MMCmfBundle
Package info
github.com/Mandarin-Medien/MMCmfContentBundle
Language:JavaScript
Type:symfony-bundle
pkg:composer/mandarinmedien/mmcmfcontentbundle
0.3.5
2023-10-06 08:17 UTC
Requires
- mandarinmedien/mmcmfnodebundle: ^0.2||^0.3
- mandarinmedien/mmmmediabundle: ^2.2.1
- twig/twig: ^1.0||^2.0
This package is auto-updated.
Last update: 2026-06-06 14:37:47 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
...