Adding extra code

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Thu Jan 14, 2010 7:03 pm
Hello
I'm trying to install cometchat and in order to do that i must add the following code in to index.php

This code after the opening <head> tag

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>jqcc=jQuery.noConflict(true);</script>
<link type="text/css" rel="stylesheet" media="all" href="cometchat/cometchatcss.php" charset="utf-8" />

and this before the closing </body> tag

<script type="text/javascript" src="cometchat/cometchatjs.php" charset="utf-8"></script>

The problem is i can't find the tags in the "The World News" template.
Can anyone tell me in which files i should look in to?
Thanks
User avatar
Fresh Boarder

teitbite
Thu Jan 14, 2010 10:58 pm
Hi

Take a look at templates/gk_twn/layouts/blocks/ . There You'll find two files: head.php (works as <head>) and gk_footer.php (close enought to end <body> tag).
User avatar
Moderator

GK User
Sat Jan 16, 2010 12:20 pm
Comet chat and other stuff like this is pretty awful site breaker.
If I can tell something...please, please, look for Joomla native solutions!
User avatar
Senior Boarder

GK User
Sun Jan 24, 2010 1:31 am
Martajz wrote:
Comet chat and other stuff like this is pretty awful site breaker.
If I can tell something...please, please, look for Joomla native solutions!


Any suggestions ?
User avatar
Expert Boarder

GK User
Sun Jan 24, 2010 3:40 am
Maybe this link can help.
User avatar
Platinum Boarder

GK User
Sun Jan 24, 2010 4:29 am
Well this is the chat that Martajz (and i) believe that it's a site breaker.
User avatar
Expert Boarder

GK User
Sun Jan 24, 2010 2:19 pm
Hello guys and thanks for the replies.

I added the code in to templates/gk_twn/layouts/blocks/ head.php & gk_footer.php and the chat is working.
User avatar
Fresh Boarder

GK User
Wed Jun 23, 2010 12:05 pm
I inserted the code into header and footer in corporate2 template, but comet chat is not showing. I inserted it also in header and footer in handheld and iphone.

where should be the problem?
User avatar
Fresh Boarder

teitbite
Wed Jun 23, 2010 8:45 pm
golux33 wrote:
I inserted the code into header and footer in corporate2 template, but comet chat is not showing. I inserted it also in header and footer in handheld and iphone.

where should be the problem?


Hi

Could You please tell me what did You add and show me Your site?
User avatar
Moderator

GK User
Wed Jun 23, 2010 10:15 pm
golux33 wrote:
I inserted the code into header and footer in corporate2 template, but comet chat is not showing. I inserted it also in header and footer in handheld and iphone.

where should be the problem?


Did you follow the installation procedure for comet chat? (are you installing this for jomsocial?)
User avatar
Expert Boarder

GK User
Wed Jun 23, 2010 11:06 pm
Hello,

I have choosed version for jomsocial. Then..

copy it into root/cometchat. chmod one file and one folder. run install.php. insert login details to cometchat.com and get footer. put it in default.php also with header part. delete install.php.

web: careerbook.cz
you can see header and footer part in the code, but it is not showing

(cometchat is legally bought and as a domain is set:careerbook.cz)
(previous adds of code are removed - I tried to insert the code in many files)

Thank you for your answers
User avatar
Fresh Boarder

GK User
Mon Jun 28, 2010 12:04 pm
Hello, we have the same problem as golux33. Cometchat and corporate 2.

Same code as in careerbook, comet not showing.

How to deal with it?
User avatar
Fresh Boarder

GK User
Sat Nov 13, 2010 11:05 am
Hello

problem was in adding code into bad position.

Thank you.
User avatar
Fresh Boarder

GK User
Sun Feb 06, 2011 11:35 am
PRIA SYSTEM wrote:Hello

problem was in adding code into bad position.

Thank you.


thats useful....where do you add the code and what to get cometchat to work?
User avatar
Fresh Boarder


cron