定制 lms42/content-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 deps file:

    [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.css file is loaded.

  • Enjoy!

Database schema

License

Academic.

统计信息

  • 总下载量: 246
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固