Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hi there, i was checking the example module and i see there is a callback folder
https://github.com/LiveHelperChat/livehelperchat-extensions/tree/master/customstatus/callbacks
where close_chat.php gets included when a chat is closed..and thats perfect for my needs, however, i would like to know if there is any global var(object) i can access in order to acces the chat info, for example:
<?php// close_chat.php$chatobject->getConversation();?>
thank you for any help
Offline
Hi,
Yes there will be available $chat variable which represents chat itself. In order to get a messages something like that should be there
https://github.com/LiveHelperChat/livehelperchat/blob/master/lhc_web/design/defaulttheme/tpl/lhexport/json.tpl.php#L3
2014-04-22 17:56 GMT+03:00 Esteban S. <estebansa...***.com>:
Offline