PHP Live! Help Desk
» Help Desk Home » How-To and Helpful Info » Adjust the visitor chat request window size
Adjust the visitor chat request window size

* Documentations are written assuming that your PHP Live! is always the latest version.  If you do not see the menu options or the feature, you may want to upgrade your system to the latest version.  The latest version can be downloaded at the client area.


For Download Clients, there are few variables that sets the embed chat window width and height and also the popup chat window width and height.  The variables are located at phplive/API/Util_Vars.php file.  The following are the default window size values:




The $VARS_CHAT_WIDTH and $VARS_CHAT_HEIGHT sets the popup chat widow dimensions.


The $VARS_CHAT_WIDTH_WIDGET and $VARS_CHAT_HEIGHT_WIDGET sets the embed chat window dimensions.


If you are wanting to adjust some values, DO NOT attempt to modify the phplive/API/Util_Vars.php file directly.  Instead, create a new file phplive/API/Util_Extra.php and place the modified values there.  This way, if new values are introduced to the Util_Vars.php file, it will not override your adjusted settings.


An example phplive/API/Util_Extra.php for a slightly bigger embed chat window size:





Was this documentation helpful to you?
Home  |  Privacy  |  License Agreement  |  Chat Icons  |  Profile Icons  |  Help Desk  |  Forums  |  Contact Us  |  Live Chat
© 2016 OSI Codes Inc. All Rights Reserved - PHP Live! is a product by by OSI Codes Inc.   PHP Live! on Google Plus Google Plus