lms42/content-bundle
Composer 安装命令:
composer require lms42/content-bundle
包简介
Simple content management: pages and categories.
README 文档
README
Introduction
This bundle provides basic CMS functionality with its own admin part. It didn't require any other bundles.
IMPORTANT This bundle is in development.
Features
- Categories management (frontend + backend).
- Content management (frontend + backend).
- Bundle is translated, see Resources/translations.
Requirements
- Symfony2 with twig.
- Doctrine2, DoctrineExtension & DoctrineFixtures.
- Highly recommended FOSUserBundle (please see the installation steps here).
- Annotations for Controllers.
- jQuery + twitter bootstrap js.
- Twitter Bootstrap css file (or with the same styles).
- It is recommended to use this bundle with SmirikAdminBundle which provides public assets (including twitter bootstrap & jquery) + menu + core classes.
Installation
-
Add bundle to your
depsfile:[SmirikContentBundle] git=git://github.com/smirik/SmirikContentBundle.git target=/bundles/Smirik/ContentBundle -
Register the namespace in
autoload.php(if you don't use other Smirik* bundles):$loader->registerNamespaces(array( ... 'Smirik' => __DIR__.'/../vendor/bundles', )); -
Register bundle in your
AppKernel.php:$bundles = array( ... new Smirik\ContentBundle\SmirikContentBundle(), ... ); -
Add routes to
routing.yml:
SmirikContentBundle:
resource: "@SmirikContentBundle/Controller/"
type: annotation
prefix: /
-
Update database and load test fixtures to see admin functionality
php app/console doctrine:schema:update --force php app/console doctrine:fixtures:load --append -
See test content at
http://host/admin/content/ -
Please check that
bootstrap.cssfile is loaded. -
Enjoy!
Database schema
License
Academic.
统计信息
- 总下载量: 246
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-06-24