Where to put Javascript cod

GK User
Fri Mar 23, 2012 10:05 am
Hello,

I need to add the javascript code below in my PHP main index. Editing the Main Template I do not find the classic "joomla" /BODY ... Since I am new of joomla, where should I put the code in the template files and with which exact syntax ?

Thanks in advance.

Code: Select all
<!-- WebsiteChat.net tracking BEGIN --><script type="text/javascript">var xCtD = new Date(); var xCtURL = (("https:" == document.location.protocol) ? "https://ssl7.net/" : "http://ssl7.net/");document.write(unescape("%3Cscript src='" + xCtURL + "chat/b/53ee1fd550d3709cd9ab39acc0.js?dc=" + xCtD.getTime() + "' type='text/javascript'%3E%3C/script%3E"));</script><!-- WebsiteChat.net tracking END -->
User avatar
Expert Boarder

GK User
Fri Mar 23, 2012 10:20 am
You can find "body" tag in following file. "\templates\gk_boutique\layouts\default.php" around line 59.

See you around...
User avatar
Platinum Boarder

GK User
Fri Mar 30, 2012 10:55 pm
normanUK wrote:You can find "body" tag in following file. "\templates\gk_boutique\layouts\default.php" around line 59.

See you around...


Thank U, it works !
User avatar
Expert Boarder

GK User
Sun Apr 01, 2012 9:17 pm
No problem at all, see you around...
User avatar
Platinum Boarder


cron