General > Support

modify mibew 2.0 customer window function

<< < (2/2)

hsukenny:
Hi faf:
I try to rebuild use gulp.
--------------------------------------------
[root@HongCMS node_modules]# gulp rebuild
[17:45:58] Using gulpfile /var/www/html/mibew/node_modules/gulpfile.js
[17:45:58] Starting 'rebuild'...
[17:45:58] Starting 'clean'...
--------------------------------------------
It look like right.No Any error.
But I check my new style. It still no any change.
I modify "/var/www/html/mibew/styles/chats/new style name/templates_src/client_side/chat/layout.handlebars" this file.
--------------------------------------------
{{! Chat window top. Includes logo and some info about company}}
{{> _logo}}

{{! Chat header}}
<div id="chat-header">
    <div class="background-center"><div class="background-left"><div class="background-right">
        {{! Chat controls region}}
        <div id="controls-region"></div>
    </div></div></div>
</div>

{{! Chat region}}
<div id="chat">
    <div class="background-left"><div class="background-right"><div class="background-shady-center"><div class="background-shady-left"><div class="background-shady-right">
        {{#unless user.isAgent}}
        <div id="avatar-region"></div>
        {{/unless}}
        {{! Chat messages region}}
        <div id="messages-region"></div>
        {{! Chat status region}}
        <div id="status-region"></div>
    </div></div></div></div></div>
</div>

{{! Message form region}}
<div id="message-form-region"></div>

{{! Footer links}}
<div id="footer">{{l10n "Powered by:"}} <a id="poweredby-link" href="http://mibew.org" title="Mibew Community" target="_blank">mibew.org</a></div>
<div><a href="javascript:Mibew.Utils.closeChatPopup();" title="{{l10n "Close"}}">關閉Windows</a></div>
--------------------------------------------
I Add last line.
Can you tell me what can i do?
Thank you very much.

hsukenny:
Hi faf:
Question 2.
I will to resize mibew client chat window.
I modify "/mibew/style/chats/default/config.yml
and  change button code.
But client chat window size still no any change.
Thanks,

Navigation

[0] Message Index

[*] Previous page

Go to full version