How can I white-label CometChat?

Before you perform these steps, please make sure that CometChat is up and running on your site. If you skip any step, CometChat will fail to load on your site:

* Rename cometchat folder to any folder of your choice. For this tutorial, we will rename it to chat

* Login to the CometChat Administration Panel keeping in mind the change of link i.e. http://www.yoursite.com/chat/admin instead of http://www.yoursite.com/cometchat/admin

* Go to Settings -> General -> Base URL section and update the Base URL.

17

* Edit the CometChat HTML code in your site template.

Your original code should be something like:

<link type="text/css" rel="stylesheet" media="all" href="http://www.cometchat.com/cometchat/cometchatcss.php" /> 
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>

Your new code will be:

<link type="text/css" rel="stylesheet" media="all" href="http://www.cometchat.com/chat/css.php" /> 
<script type="text/javascript" src="/chat/js.php" charset="utf-8"></script>

Note: CometChat cannot be white-labelled if it is installed as a plugin.

Not finding what you need?

The CometChat team is here to help!