定制 positibe/cms-bundle 二次开发

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

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

positibe/cms-bundle

Composer 安装命令:

composer require positibe/cms-bundle

包简介

Symfony Positibe Cms Bundle

README 文档

README

This bundle provide a AbstractPage, Page and Category entity and integrate some other Positibe bundles to create a Page CMS representation.

Installation

Before

To install the bundle just add the dependent bundles:

php composer.phar require positibe/cms-bundle

This bundle set the required configuration of other Positibe Bundles for you like:

  • PositibeMenuBundle
  • PositibeMediaBundle
  • PositibeCmfRoutingExtraBundle
  • PositibeCmsBundle

But it's better take a look at those README.md file

Next, be sure to enable the bundles in your application kernel:

<?php
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        // Sylius ResourceBundle
        new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
        new FOS\RestBundle\FOSRestBundle(),
        new JMS\SerializerBundle\JMSSerializerBundle($this),
        new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(),
        new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
        new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(),
        new winzou\Bundle\StateMachineBundle\winzouStateMachineBundle(),
        new Knp\Bundle\MenuBundle\KnpMenuBundle(),
        new Liip\ImagineBundle\LiipImagineBundle(),
        new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
        new FM\ElfinderBundle\FMElfinderBundle(),
        new Sonata\CoreBundle\SonataCoreBundle(),
        new Sonata\BlockBundle\SonataBlockBundle(),
        new Sonata\SeoBundle\SonataSeoBundle(),
        new Lunetics\LocaleBundle\LuneticsLocaleBundle(),
        new Symfony\Cmf\Bundle\CoreBundle\CmfCoreBundle(),
        new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle(),
        new Symfony\Cmf\Bundle\RoutingAutoBundle\CmfRoutingAutoBundle(),
        new Symfony\Cmf\Bundle\SeoBundle\CmfSeoBundle(),
        new Positibe\Bundle\CmfRoutingExtraBundle\PositibeCmfRoutingExtraBundle(),
        new Positibe\Bundle\CoreBundle\PositibeCoreBundle(),
        new Positibe\Bundle\MediaBundle\PositibeMediaBundle(),
        new Positibe\Bundle\MenuBundle\PositibeMenuBundle(),
        new Positibe\Bundle\CmsBundle\PositibeCmsBundle(),

        // ...
    );
}

Configuration

Import all necessary configurations to your app/config/config.yml the basic configuration. # app/config/config.yml imports: - { resource: '@PositibeCoreBundle/Resources/config/config.yml'} - { resource: '@PositibeCmsBundle/Resources/config/config.yml' } - { resource: '@PositibeMediaBundle/Resources/config/config.yml'} - { resource: '@PositibeMenuBundle/Resources/config/config.yml'} - { resource: '@PositibeCmfRoutingExtraBundle/Resources/config/config.yml' }

#If you want some advanced configuration
positibe_cms:
    public_routes: # e.g. [homepage, my-company]  List of public symfony routes available.
    content_class: # e.g. [ AppBundle\Entity\Post, AppBundle\Entity\Category ] List of content that extend of MenuNodeReferralInterface.

Caution:: This bundle use the timestampable, sluggable, softdeleteable, translatable and sortable extension of GedmoDoctrineExtension. Be sure that you have the listeners for this extensions enable. You can also to use StofDoctrineExtensionBundle. Caution:: If you have the parameter positibe.menu_node.class: Positibe\Bundle\MenuBundle\Doctrine\Orm\MenuNode configured in your config.yml please erase it.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固