定制 diamante/front-bundle 二次开发

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

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

diamante/front-bundle

最新稳定版本:2.0.3

Composer 安装命令:

composer require diamante/front-bundle

包简介

DiamanteDesk Front Bundle

README 文档

README

DiamanteDeskFrontBundle is a part of DiamanteDesk system. This software extends its base functionality with frontend UI available for customers, allowing them to submit and monitor status of their tickets through web.

Installation

Add as dependency in composer:

composer require diamante/front-bundle

Install assets via Symfony using the following command:

php app/console assets:install

Configuration

Frontend is accessible at this URL. This URL should not be covered by standard Oro Platfrom authentication. You should add additional configuration to firewalls section in app/config/security.yml:

front_diamante:
    pattern:        ^/portal
    provider:       chain_provider
    anonymous:      true

In order to reset and update password url you should use anonymous user. Add the following rule in the same section as above:

front_diamante_reset_password:
    pattern:        ^/portal/password/*
    provider:       chain_provider
    anonymous:      true

Development

Requirements for Development

DiamanteDesk Front Bundle development requires such software to be installed:

  • Node.JS
  • NPM
  • Grunt (installed globally)
  • Bower (installed globally)

The source code can be found in the @DiamanteFrontBundle/Resources/front folder. This folder has the following structure:

@DiamanteFrontBundle
+-- Resources
|    +-- assets
|    |    +-- img
|    |    +-- js
|    |    +-- less
+-- .bowerrc
+-- bower.json
+-- Grungfile.js

Application uses Bower to manage all asset dependencies, which will be installed in assets/js/vendor.

After the source code is changed, run Grunt or execute the following command:

php app/console diamante:front:build

NPM Dependencies

All dependencies required for the development are specified at @DiamanteFrontBundle/packages.json file and can be installed using the following command:

npm install

To update the dependencies, execute the following command:

npm update

Contributing

We appreciate any effort to make DiamanteDesk functionality better; therefore, we welcome all kinds of contributions in the form of bug reporting, patches submitting, feature requests or documentation enhancement. Please refer to the DiamanteDesk guidelines for contributing if you wish to be a part of the project.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 10
  • Forks: 2
  • 开发语言: JavaScript

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2015-04-01