General > Support

How to customize chat conversation with a different style ?

(1/2) > >>

yaseer_jaffar:
I have seen two classes message-agent' and 'message-user' in the chat.css file.

I want to make this classes inside a div. I have searched for these classes. I have found these classes only in chat.css file. Where can we find these classes in a template file. I want to cutomize the chat conversation.

Please help me on this. Thanks in advance.

Dmitriy Simushev:
See https://github.com/Mibew/mibew/blob/master/src/mibew/styles/chats/default/templates_src/client_side/message.handlebars.

One more thing. If you want to customize Mibew, please, spend some time to get how it works. It's not so hard but it helps you to reduce count of simple (not interesting) questions at the forum.

yaseer_jaffar:
This is the file what I am searching for. Thank you very much Dmitriy Simushev. You helped me a lot  :) I am excited to use Mibew.

yaseer_jaffar:
Hi, Dmitriy Simushev, In the Chat conversation page. I have seen a div tag with class "message". But, I am unable to find the class "message" in the source code(template.js file). Can you please help me on this. Thanks in advance.

Dmitriy Simushev:
Why don't you just use your favorite search tool to find it in the code base?!  >:(

See:
  https://github.com/Mibew/mibew/blob/master/src/mibew/styles/pages/default/templates_src/server_side/history_thread.handlebars#L64
  https://github.com/Mibew/mibew/blob/master/src/mibew/styles/pages/default/templates_src/server_side/tracked.handlebars#L23
  https://github.com/Mibew/mibew/blob/master/src/mibew/styles/chats/default/templates_src/client_side/chat/message_form.handlebars#L4

P.S.: If you're a developer and want to do something with Mibew you would be better to start doing it by yourself.

Navigation

[0] Message Index

[#] Next page

Go to full version