-
AuthorPosts
-
koteng Friend
koteng
- Join date:
- November 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
April 6, 2010 at 3:56 am #150159Can someone please tell me how insert the below code in to the header?
<!– ValueClick Media POP-UNDER CODE v1.8 for <script language=”javascript”><!– var dc=document; var date_ob=new Date(); dc.cookie=’h2=o; path=/;’;var bust=date_ob.getSeconds(); if(dc.cookie.indexOf(‘e=llo’) <= 0 && dc.cookie.indexOf(‘2=o’) > 0){ dc.write(‘<scr’+’ipt language=”javascript” src=”http://media.fastclick.net’); dc.write(‘/w/pop.cgi?sid=50114&m=2&tp=2&v=1.8&c=’+bust+'”></scr’+’ipt>’); date_ob.setTime(date_ob.getTime()+14400000); dc.cookie=’he=llo; path=/; expires=’+ date_ob.toGMTString();} // –> </script>
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
April 6, 2010 at 1:20 pm #339317Go to folder templatesja_teline_iiilayouts and open either 3columns-classic.php or default.php, (in dependence on the template setting “Default Layout”).
These files contain tags <head> & <body>.koteng Friendkoteng
- Join date:
- November 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
April 7, 2010 at 12:14 am #339385thanks for the response but unfortunately this file does not contain <head> & <body>.i’m using the default.php.
where do I insert the code?
<?php
/*
# ————————————————————————
# JA Teline III template for Joomla 1.5
# ————————————————————————
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license – PHP files are GNU/GPL V2. CSS / JS are Copyrighted Commercial,
# bound by Proprietary License of JoomlArt. For details on licensing,
# Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
# Author: JoomlArt.com
# Websites: http://www.joomlart.com – http://www.joomlancers.com
# Redistribution, Modification or Re-licensing of this file in part of full,
# is bound by the License applied.
# ————————————————————————
*/// no direct access
defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
$this->_basewidth = 18;
$positions = array (
‘left1’ =>”,
‘left2’ =>”,
‘left-mass-top’ =>”,
‘left-mass-bottom’ =>”,
‘right1′ =>’left’,
‘right2′ =>’right’,
‘right-mass-top’ =>’col-mass1′,
‘right-mass-bottom’ =>’col-mass2′,
‘content-mass-top’ =>”,
‘content-mass-bottom’ =>”,
‘content-top’ =>’content-top’,
‘content-bottom’ =>’content-bot’,
‘inset1’ =>”,
‘inset2’ =>”
);$this->definePosition ($positions);
?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>”>
<head>
<?php $this->loadBlock(‘head’) ?>
</head><body id=”bd” class=”fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>”>
<div id=”ja-wrapper”>
<a name=”Top” id=”Top”></a><!– HEADER –>
<?php $this->loadBlock(‘header’) ?>
<!– //HEADER –><!– MAIN NAVIGATION –>
<?php $this->loadBlock(‘mainnav’) ?>
<!– //MAIN NAVIGATION –><?php $this->loadBlock(‘topsl’) ?>
<!– MAIN CONTAINER –>
<div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’); ?>”>
<div class=”main clearfix”><div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<?php $this->loadBlock(‘main’) ?>
<?php $this->loadBlock(‘left’) ?>
</div><?php $this->loadBlock(‘right’) ?>
</div>
</div>
<!– //MAIN CONTAINER –><?php $this->loadBlock(‘botsl’) ?>
<!– FOOTER –>
<?php $this->loadBlock(‘footer’) ?>
<!– //FOOTER –></div>
<jdoc:include type=”modules” name=”debug” />
<?php if ($this->isIE6()) : ?>
<?php $this->loadBlock(‘ie6/ie6warning’) ?>
<?php endif; ?></body>
</html>
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
April 7, 2010 at 2:35 pm #339490You are right – this is templatesja_teline_iiilayoutsdefault.php
And it has rows (just check more carefully)
<head>
<?php $this->loadBlock(‘head’) ?>
</head><body id=”bd” class=”fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>”>
1 user says Thank You to gray for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 8, 2010 at 5:00 am #339561Dear koteng!
Please create a custom module and put the source into the content of the module and put the module on the “search” position or other position
GOod luck
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by Saguaros 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum