Unable to find HTML code in Joomla Template
If you are unable to find <head> tag in your site template, you will have to perform the following steps:
- You will 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 just before that 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 your 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.