Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello,
So, when chat window is maximized I need lhc header to show my exact status as when it is minimized.
For example, if chat is online and when it is minimized it says "We are online, please chat with us", I want to make it the same when user maximizes the chat.
Same for offline. (lhc_header)
I understood I could do this with if / else statements, but which file do I need to edit? How do I edit lhc_header this way?
Thanks.
Offline
Use github search
Offline
I did mate
https://github.com/LiveHelperChat/liveh … &type=Code
Which file needs to be edited?
container.tpl.php or widget_theme.tpl.php
Offline
Override container.tpl.php, never edit anything from defaulttheme folder, always override. How to override you will find in a documentation
Offline
I edit it but it just doesn't appear...
Do you have any advices?
Thanks.
Offline
The only advice read documentation. About disabling casche etc...
Offline
Of course I disabled cache and enabled the debug mode. This is just a wall I stumbled on.
I tried this code:
<div id="lhc_header"><?php if($isOnline == false) echo '<a id="offline-icon"></a>'; else echo '<a id="online-icon"></a>';?></div>
Doesn't work.
Offline
Sorry, but you have all required info. From here you are on your own.
Offline
Okay, thanks for your time.
Offline
Pages: 1