mandarinmedien/mmcmfcontentbundle
Composer 安装命令:
composer require mandarinmedien/mmcmfcontentbundle
包简介
This is the bridge between doctrine content entities and twig which will be the base of the MMCmfBundle
README 文档
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
...
统计信息
- 总下载量: 161
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-23