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.
Add as dependency in composer:
composer require diamante/front-bundle
Install assets via Symfony using the following command:
php app/console assets:install
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
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
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
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.