I am unable to find HTML code in my Joomla site template.

If you are unable to find the <HEAD> tag in your site template, you will have to perform the following steps:

You need to manually edit libraries/joomla/document/
html/renderer/head.php
. Please backup this file before proceeding.

Find the following comment on line 87:

// Generate link declarations

Add the following code just before the comment:

$strHtml .= '<link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" charset="utf-8" /><script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>';

So the new code will look like:

$strHtml .= '<link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" charset="utf-8" /><script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>';

// Generate link declarations

$strHtml variable name may be different (e.g. $buffer) in different Joomla installations.

Save your file and then you can continue with the rest of the installation.

Not finding what you need?

The CometChat team is here to help!