test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • koteng Friend
    #150159

    Can 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 Friend
    #339317

    Go 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 Friend
    #339385

    thanks 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.comhttp://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 Friend
    #339490

    You 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();?>”>

    Saguaros Moderator
    #339561

    Dear 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

Viewing 5 posts - 1 through 5 (of 5 total)

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