定制 backbee/demo-bundle 二次开发

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

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

backbee/demo-bundle

最新稳定版本:v1.2.1

Composer 安装命令:

composer require backbee/demo-bundle

包简介

BackBee CMS demonstration bundle

README 文档

README

This is the Demonstration Bundle provided with BackBee Standard Edition. This Bundle provide some useful Content Types to build a blog or a news website.

Content Types

block_demo

Let's take a look to the related block_demo.yml located in the ClassContent directory.

block_demo:
    properties:
        name: Block demo
        description: "Block for demonstration"
        category: [Demo]
    elements:
        text:
            type: BackBee\ClassContent\Element\text
            default:
                value: This is a random field you can edit...
            maxentry: 1
            parameters:
                aloha: !!scalar paragraph
                editable: !!boolean true

The root node of yaml tree is block_demo and he own two children: properties and elements.

The properties are all related to the root node: for instance block_demo have a two mandatory parameters which are name and description. The category parameter define a scope where the ClassContent be used in the BackBee application.

The elements define all elements (defined in BackBee Core, but you can create your owns) created when you use a block_demo Block in BackBee application.

This is pretty simple: a block_demo is compounded of only one Text element which is editable by the provided Aloha editor.

Note:

  • If you update this file directly on BackBee in "debug mode", the modifications are applied when you reload your browser page
  • You need to provide also a template with your content type in the Templates\scripts directory
  • This documentation covers 0.11.x versions of BackBee CMS

Documentation links

  • BackBee Standard Edition is a full-featured, open-source Content Management System (CMS) build on top of Symfony Components and Doctrine.
  • Aloha editor is an open source WYSIWYG editor that can be used in web pages. Aloha Editor aims to be easy to use and fast in editing, and allows advanced inline editing.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-01-06