General > Support
Adding Group Name to chat pages
(1/1)
mharting:
We are using Groups to mimic our department structure. When the Chat window opens, currently it does not show anything at the top of the page to identify who you are talking to. I would like for the department name to show like "Help Desk" or "Customer Service". Is there an easy way to add the group name to the templates so it will always display?
wooshman:
Old post with an answer. This will put the selected department on the second line of chat after the users name.
client.php
Work on version 1.6.11
Line 66 and 67 reads:
--- Code: ---$email = getparam("email");
$referrer = urldecode(getparam("referrer"));
--- End code ---
Add this on the next line:
--- Code: ---if ($groupname !="") $firstmessage .= "\n Branch: $groupname";
--- End code ---
So now looks like:
--- Code: ---$email = getparam("email");
$referrer = urldecode(getparam("referrer"));
if ($groupname !="") $firstmessage .= "\n Department: $groupname";
--- End code ---
This little mod also helps the agent once the chat has been answered if the agent covers a few departments.
Navigation
[0] Message Index
Go to full version