Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

insert cometchat into Socailize template

10 years 4 months ago
  • Saovry's Avatar
    Topic Author
  • Saovry
  • Offline
  • Fresh Boarder
  • Posts: 83
  • Thank you received: 9
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

How could I insert this code into header under my Socialize template

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

I tried to insert at Socialize/templates/socialize/tpls/blocks/head.php but I don't how could I insert it...

<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;
?>
<!-- META FOR IOS & HANDHELD -->
<meta name="viewport" content="width=device-width, initial-scale=1.0<?php echo $this->getParam('responsive', 1) ? ', maximum-scale=1.0, user-scalable=no' : '' ?>"/>
<meta name="HandheldFriendly" content="true" />
<meta name="apple-mobile-web-app-capable" content="YES" />
<!-- //META FOR IOS & HANDHELD -->

<?php
// SYSTEM CSS
$this->addStyleSheet(JURI::base(true).'/templates/system/css/system.css');
?>

<?php
// T3 BASE HEAD
$this->addHead(); ?>

<?php
// CUSTOM CSS
if(is_file(T3_TEMPLATE_PATH . '/css/custom.css')) {
$this->addStyleSheet(T3_TEMPLATE_URL.'/css/custom.css');
}
?>


<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- For IE6-8 support of media query -->
<!--[if lt IE 9]>
<script type="text/javascript" src="<?php echo T3_URL ?>/js/respond.min.js"></script>
<![endif]-->

<!-- You can add Google Analytics here-->

10 years 4 months ago
Licenses:

Hi Saovry,

please goto joomla backend > extensions > templates manager > select socialize > custom code tab
put the code at Before </head>



Regards

Attachments:
10 years 4 months ago
  • Saovry's Avatar
    Topic Author
  • Saovry
  • Offline
  • Fresh Boarder
  • Posts: 83
  • Thank you received: 9
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

It doesn't work for me, I followed your comment already and I used Fsfirewall to protect my site...

10 years 4 months ago
Licenses:

Hi Saovry,

please unblock my IP 223.164.66.75
I need to find what full/abosulte URL for /cometchat/cometchatcss.php and /cometchat/cometchatjs.php that cometchat still using relative URL.

Regards

10 years 4 months ago
  • Saovry's Avatar
    Topic Author
  • Saovry
  • Offline
  • Fresh Boarder
  • Posts: 83
  • Thank you received: 9
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

I unlock your ip already and you can find the folder chat.
thanks

10 years 4 months ago
Licenses:

Hi Saovry.

I cannot find any cometchat extension at your site. please contact cometchat support for more assistance

Regards

10 years 4 months ago
  • Saovry's Avatar
    Topic Author
  • Saovry
  • Offline
  • Fresh Boarder
  • Posts: 83
  • Thank you received: 9
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

Now I install cometchat extension already.
Could you look at my picture?

Attachments:
10 years 4 months ago
Licenses:

Hi Saovry,

the instruction is clear, you must but after <head> in site template manager.

if not working, please asking cometchat support for that. cometchat not ijoomla product.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW