General > Support

Different survey form according to operators group

(1/1)

jvillego:
Hello!

I need develop a new functionality for Mibew. 

I need different survey form according operator group.

How can I do that?

Thanks!

Dmitriy Simushev:
I'm afraid there is no easy way to do so in Mibew.

If you're fine with PHP and JS development you can alter some behavior with plugins. To start, take a look at the following files:


* https://github.com/Mibew/mibew/blob/master/src/mibew/js/source/chat/models/survey/survey_form.js
* https://github.com/Mibew/mibew/blob/master/src/mibew/js/source/chat/model_views/survey/survey_form.js
* https://github.com/Mibew/mibew/blob/master/src/mibew/styles/chats/default/templates_src/client_side/survey/form.handlebars
* https://github.com/Mibew/mibew/blob/master/src/mibew/libs/classes/Mibew/Controller/Chat/ThreadController.php
* https://github.com/Mibew/mibew/blob/master/src/mibew/libs/classes/Mibew/RequestProcessor/ThreadProcessor.php

Navigation

[0] Message Index

Go to full version