Viewing 15 posts - 1 through 15 (of 54 total)
  • Author
    Posts
  • evyna Friend
    #208930

    Hello,
    I have to add a background ad to my site (like in the next image) but I don’t understand my error because the background is not appeared


    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. 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.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php if ($this->isIE() && ($this->isRTL())) { ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <?php } else { ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php } ?>

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

    <head>

    <?php //gen head base on theme info
    $this->showBlock ('head');
    ?>

    <?php
    $blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <?php echo $this->showBlock ('css') ?>

    </head>

    <body id="bd" class="<?php if (!T3Common::mobile_device_detect()):?>bd<?php endif;?> <?php echo $this->getBodyClass();?>">

    <!-- EVA INIZIO SKIN -->

    <table width="100%" border="0" cellspacing="0" cellpadding="0" >

    <tr>

    <td background="http://www.androiditaly.com/images/huawei_Android.jpg? style="background-repeat: no-repeat; background-position: center top;"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">

    <tr>

    <td height="181" colspan="3"><a href="http://bit.ly/huawai" target="_blank"> <img src="http://www.mammedomani.it/images/Danone_trasp.gif"> </a></td>

    </tr>

    <tr>

    <td colspan="3">

    <!-- FINE EVA SKIN -->

    <div id="ja-wrapper">
    <a name="Top" id="Top"></a>

    <?php
    $blks = &$this->getBlocksXML ('top');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <!-- MAIN CONTAINER -->
    <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w')?$this->getColumnWidth('cls_w'):'ja-mf'; ?>">
    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
    <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
    <!-- CONTENT -->
    <div id="ja-main" style="width:<?php echo $this->getColumnWidth('m') ?>%">
    <div class="inner clearfix">

    <?php echo $this->loadBlock ('message') ?>

    <?php
    //content-mass-top
    if($this->hasBlock('content-mass-top')) :
    $block = &$this->getBlockXML ('content-mass-top');
    ?>
    <div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php

    endif; ?>

    <div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">
    <div id="ja-content" class="column" style="width:<?php echo $this->getColumnWidth('cw') ?>%">
    <div id="ja-current-content" class="column" style="width:<?php echo $this->getColumnWidth('c') ?>%">
    <?php
    //content-top
    if($this->hasBlock('content-top')) :
    $block = &$this->getBlockXML ('content-top');
    ?>
    <div id="ja-content-top" class="ja-content-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php if (!$this->getParam ('hide_content_block', 0)): ?>
    <div id="ja-content-main" class="ja-content-main clearfix">
    <?php echo $this->showBlock ('content') ?>
    </div>
    <?php endif ?>

    <?php
    //content-bottom
    if($this->hasBlock('content-bottom')) :
    $block = &$this->getBlockXML ('content-bottom');
    ?>
    <div id="ja-content-bottom" class="ja-content-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset1
    if($this->hasBlock('inset1')) :
    $block = &$this->getBlockXML ('inset1');
    ?>
    <div id="ja-inset1" class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset2
    if($this->hasBlock('inset2')) :
    $block = &$this->getBlockXML ('inset2');
    ?>
    <div id="ja-inset2" class="ja-col column ja-inset2" style="width:<?php echo $this->getColumnWidth('i2') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    </div>

    <?php
    //content-mass-bottom
    if($this->hasBlock('content-mass-bottom')) :
    $block = &$this->getBlockXML ('content-mass-bottom');
    ?>
    <div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    </div>
    <!-- //CONTENT -->
    <?php if (($l = $this->getColumnWidth('l'))): ?>
    <!-- LEFT COLUMN-->
    <div id="ja-left" class="column sidebar" style="width:<?php echo $l ?>%">
    <?php
    //left-mass-top
    if($this->hasBlock('left-mass-top')) :
    $block = &$this->getBlockXML ('left-mass-top');
    ?>
    <div id="ja-left-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('left1') && $this->hasBlock('left2')) {
    $cls1 = "ja-left1";
    $cls2 = "ja-left2";
    }
    if ($this->hasBlock('left1') || $this->hasBlock('left2')):
    ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_l'); ?>">
    <?php if ($this->hasBlock('left1')):
    $block = &$this->getBlockXML('left1');
    ?>
    <div id="ja-left1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('l1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('left2')):
    $block = &$this->getBlockXML('left2');
    ?>
    <div id="ja-left2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('l2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //left-mass-bottom
    if($this->hasBlock('left-mass-bottom')) :
    $block = &$this->getBlockXML ('left-mass-bottom');
    ?>
    <div id="ja-left-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //LEFT COLUMN-->
    <?php endif; ?>

    </div>
    <?php if (($r = $this->getColumnWidth('r'))): ?>
    <!-- RIGHT COLUMN-->
    <div id="ja-right" class="column sidebar" style="width:<?php echo $r ?>%">

    <?php
    //left-mass-top
    if($this->hasBlock('right-mass-top')) :
    $block = &$this->getBlockXML ('right-mass-top');
    ?>
    <div id="ja-right-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('right1') && $this->hasBlock('right2')) {
    $cls1 = "ja-right1";
    $cls2 = "ja-right2";
    }
    if ($this->hasBlock('right1') || $this->hasBlock('right2')): ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_r'); ?>">
    <?php if ($this->hasBlock('right1')):
    $block = &$this->getBlockXML('right1');
    ?>
    <div id="ja-right1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('r1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('right2')):
    $block = &$this->getBlockXML('right2');
    ?>
    <div id="ja-right2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('r2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //right-mass-bottom
    if($this->hasBlock('right-mass-bottom')) :
    $block = &$this->getBlockXML ('right-mass-bottom');
    ?>
    <div id="ja-right-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //RIGHT COLUMN-->
    <?php endif; ?>
    <?php $this->genBlockEnd ($this->getBlocksXML ('middle')) ?>
    </div>
    <?php
    //Add fix height for main area
    if (T3Common::node_attributes ($this->getBlocksXML ('middle'), 'fixheight')) {
    $this->showBlock ('fixheight');
    }
    ?>
    <!-- //MAIN CONTAINER -->

    <?php
    $blks = &$this->getBlocksXML ('bottom');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    if (T3Common::getBrowserSortName() == 'ie' && T3Common::getBrowserMajorVersion() == 7) echo "<br class="clearfix"/>";
    $this->showBlock ($block);
    endforeach;
    ?>

    </div>

    <?php if ($this->isIE6()) : ?>
    <?php $this->showBlock('ie6/ie6warning') ?>
    <?php endif; ?>

    <?php $this->showBlock('debug') ?>

    <!-- EVA SKIN -->

    </td>

    </tr>

    </table></td>

    </tr>

    </table>

    <!-- FINE EVA -->

    </body>

    </html>

    evyna Friend
    #577957

    Now I have write the file “default.php in plugins/system/jat3/base-themes/default/page

    Now The Skin is ok but if I open the windows, the size go to the left but the background is on the center…

    jooservices Friend
    #577971

    Hi there
    # Please provide link to image which one you want to use for background
    # And restore your original code
    I’ll help you inspect that.

    Thank you,
    Viet Vu

    jooservices Friend
    #644262

    Hi there
    # Please provide link to image which one you want to use for background
    # And restore your original code
    I’ll help you inspect that.

    Thank you,
    Viet Vu

    jooservices Friend
    #742895

    Hi there
    # Please provide link to image which one you want to use for background
    # And restore your original code
    I’ll help you inspect that.

    Thank you,
    Viet Vu

    evyna Friend
    #577974

    the image background is there: http://www.androiditaly.com/images/Huawei_prova2_AN.jpg

    thank you very much

    evyna Friend
    #644265

    the image background is there: http://www.androiditaly.com/images/Huawei_prova2_AN.jpg

    thank you very much

    evyna Friend
    #742898

    the image background is there: http://www.androiditaly.com/images/Huawei_prova2_AN.jpg

    thank you very much

    jooservices Friend
    #577976

    Hi there
    Please try this one

    body#bd {
    background: url('http://www.androiditaly.com/images/Huawei_prova2_AN.jpg');
    color: #333
    background-position: top center;
    }

    And

    #ja-container {background:none};

    You can change background-position as your needed.

    And you’ll have like this

    https://www.dropbox.com/s/3xcqztsl0vmczdi/2015-07-20_15-25-13.png?dl=0

    Note://
    # Apply css into custom.css
    # You can use !important if needed
    # You should turn off css compress while working on these

    Thank you,
    Viet Vu

    jooservices Friend
    #644267

    Hi there
    Please try this one

    body#bd {
    background: url('http://www.androiditaly.com/images/Huawei_prova2_AN.jpg');
    color: #333
    background-position: top center;
    }

    And

    #ja-container {background:none};

    You can change background-position as your needed.

    And you’ll have like this

    https://www.dropbox.com/s/3xcqztsl0vmczdi/2015-07-20_15-25-13.png?dl=0

    Note://
    # Apply css into custom.css
    # You can use !important if needed
    # You should turn off css compress while working on these

    Thank you,
    Viet Vu

    jooservices Friend
    #742900

    Hi there
    Please try this one

    body#bd {
    background: url('http://www.androiditaly.com/images/Huawei_prova2_AN.jpg');
    color: #333
    background-position: top center;
    }

    And

    #ja-container {background:none};

    You can change background-position as your needed.

    And you’ll have like this

    https://www.dropbox.com/s/3xcqztsl0vmczdi/2015-07-20_15-25-13.png?dl=0

    Note://
    # Apply css into custom.css
    # You can use !important if needed
    # You should turn off css compress while working on these

    Thank you,
    Viet Vu

    evyna Friend
    #577982

    Is it possible to have all site inside the skin? And the skin linkable…

    I have insert your code but it is wrong… I think that I have put the code wrong….


    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. 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.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php if ($this->isIE() && ($this->isRTL())) { ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <?php } else { ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php } ?>

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

    <head>

    <div align="center"><!------ OAS AD 'Top' begin ------>
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    OAS_AD('Top');
    //-->
    </SCRIPT>
    <!------ OAS AD 'Top' end ------> </div>

    <?php //gen head base on theme info
    $this->showBlock ('head');
    ?>

    <?php
    $blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <?php echo $this->showBlock ('css') ?>

    <!------ OAS SETUP begin ------>
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    //configuration
    OAS_url = 'http://oas.advit.it/RealMedia/ads/';
    OAS_sitepage = 'www.androiditaly.com/hp';
    OAS_listpos = 'Bottom,Middle1,Right1,Top,Top1';
    OAS_query = '';
    OAS_target = '_top';
    //end of configuration
    OAS_version = 10;
    OAS_rn = '001234567890'; OAS_rns = '1234567890';
    OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
    function OAS_NORMAL(pos) {
    document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>');
    document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>');
    }
    //-->
    </SCRIPT>
    <SCRIPT LANGUAGE=JavaScript1.1>
    <!--
    OAS_version = 11;
    if ((navigator.userAgent.indexOf('Mozilla/3') != -1) || (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1))
    OAS_version = 10;
    if (OAS_version >= 11)
    document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"></SCRIPT>');//-->
    </SCRIPT><SCRIPT LANGUAGE=JavaScript>
    <!--
    document.write('');
    function OAS_AD(pos) {
    if (OAS_version >= 11 && typeof(OAS_RICH)!='undefined')
    OAS_RICH(pos);
    else
    OAS_NORMAL(pos);
    } //-->
    </SCRIPT>
    <!------ OAS SETUP end ------>

    </head>

    <body id="bd" class="<?php if (!T3Common::mobile_device_detect()):?>bd<?php endif;?> <?php echo $this->getBodyClass();?>">

    <div id="ja-wrapper">
    <a name="Top" id="Top"></a>

    <?php
    $blks = &$this->getBlocksXML ('top');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <!-- MAIN CONTAINER -->
    <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w')?$this->getColumnWidth('cls_w'):'ja-mf'; ?>">
    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
    <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
    <!-- CONTENT -->
    <div id="ja-main" style="width:<?php echo $this->getColumnWidth('m') ?>%">
    <div class="inner clearfix">

    <?php echo $this->loadBlock ('message') ?>

    <?php
    //content-mass-top
    if($this->hasBlock('content-mass-top')) :
    $block = &$this->getBlockXML ('content-mass-top');
    ?>
    <div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php

    endif; ?>

    <div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">
    <div id="ja-content" class="column" style="width:<?php echo $this->getColumnWidth('cw') ?>%">
    <div id="ja-current-content" class="column" style="width:<?php echo $this->getColumnWidth('c') ?>%">
    <?php
    //content-top
    if($this->hasBlock('content-top')) :
    $block = &$this->getBlockXML ('content-top');
    ?>
    <div id="ja-content-top" class="ja-content-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php if (!$this->getParam ('hide_content_block', 0)): ?>
    <div id="ja-content-main" class="ja-content-main clearfix">
    <?php echo $this->showBlock ('content') ?>
    </div>
    <?php endif ?>

    <?php
    //content-bottom
    if($this->hasBlock('content-bottom')) :
    $block = &$this->getBlockXML ('content-bottom');
    ?>
    <div id="ja-content-bottom" class="ja-content-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset1
    if($this->hasBlock('inset1')) :
    $block = &$this->getBlockXML ('inset1');
    ?>
    <div id="ja-inset1" class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset2
    if($this->hasBlock('inset2')) :
    $block = &$this->getBlockXML ('inset2');
    ?>
    <div id="ja-inset2" class="ja-col column ja-inset2" style="width:<?php echo $this->getColumnWidth('i2') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    </div>

    <?php
    //content-mass-bottom
    if($this->hasBlock('content-mass-bottom')) :
    $block = &$this->getBlockXML ('content-mass-bottom');
    ?>
    <div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    </div>
    <!-- //CONTENT -->
    <?php if (($l = $this->getColumnWidth('l'))): ?>
    <!-- LEFT COLUMN-->
    <div id="ja-left" class="column sidebar" style="width:<?php echo $l ?>%">
    <?php
    //left-mass-top
    if($this->hasBlock('left-mass-top')) :
    $block = &$this->getBlockXML ('left-mass-top');
    ?>
    <div id="ja-left-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('left1') && $this->hasBlock('left2')) {
    $cls1 = "ja-left1";
    $cls2 = "ja-left2";
    }
    if ($this->hasBlock('left1') || $this->hasBlock('left2')):
    ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_l'); ?>">
    <?php if ($this->hasBlock('left1')):
    $block = &$this->getBlockXML('left1');
    ?>
    <div id="ja-left1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('l1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('left2')):
    $block = &$this->getBlockXML('left2');
    ?>
    <div id="ja-left2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('l2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //left-mass-bottom
    if($this->hasBlock('left-mass-bottom')) :
    $block = &$this->getBlockXML ('left-mass-bottom');
    ?>
    <div id="ja-left-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //LEFT COLUMN-->
    <?php endif; ?>

    </div>
    <?php if (($r = $this->getColumnWidth('r'))): ?>
    <!-- RIGHT COLUMN-->
    <div id="ja-right" class="column sidebar" style="width:<?php echo $r ?>%">

    <?php
    //left-mass-top
    if($this->hasBlock('right-mass-top')) :
    $block = &$this->getBlockXML ('right-mass-top');
    ?>
    <div id="ja-right-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('right1') && $this->hasBlock('right2')) {
    $cls1 = "ja-right1";
    $cls2 = "ja-right2";
    }
    if ($this->hasBlock('right1') || $this->hasBlock('right2')): ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_r'); ?>">
    <?php if ($this->hasBlock('right1')):
    $block = &$this->getBlockXML('right1');
    ?>
    <div id="ja-right1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('r1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('right2')):
    $block = &$this->getBlockXML('right2');
    ?>
    <div id="ja-right2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('r2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //right-mass-bottom
    if($this->hasBlock('right-mass-bottom')) :
    $block = &$this->getBlockXML ('right-mass-bottom');
    ?>
    <div id="ja-right-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //RIGHT COLUMN-->
    <?php endif; ?>
    <?php $this->genBlockEnd ($this->getBlocksXML ('middle')) ?>
    </div>
    <?php
    //Add fix height for main area
    if (T3Common::node_attributes ($this->getBlocksXML ('middle'), 'fixheight')) {
    $this->showBlock ('fixheight');
    }
    ?>
    <!-- //MAIN CONTAINER -->

    <?php
    $blks = &$this->getBlocksXML ('bottom');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    if (T3Common::getBrowserSortName() == 'ie' && T3Common::getBrowserMajorVersion() == 7) echo "<br class="clearfix"/>";
    $this->showBlock ($block);
    endforeach;
    ?>

    </div>

    <?php if ($this->isIE6()) : ?>
    <?php $this->showBlock('ie6/ie6warning') ?>
    <?php endif; ?>

    <?php $this->showBlock('debug') ?>

    <!-- OAS AD 'Right1' begin -->
    <SCRIPT type="text/javascript">
    <!--
    OAS_AD('Right1');
    //-->
    </SCRIPT>
    <!-- OAS AD 'Right1' end -->

    </body>

    </html>

    Wher I put the code inside default.php?

    evyna Friend
    #644273

    Is it possible to have all site inside the skin? And the skin linkable…

    I have insert your code but it is wrong… I think that I have put the code wrong….


    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. 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.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php if ($this->isIE() && ($this->isRTL())) { ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <?php } else { ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php } ?>

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

    <head>

    <div align="center"><!------ OAS AD 'Top' begin ------>
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    OAS_AD('Top');
    //-->
    </SCRIPT>
    <!------ OAS AD 'Top' end ------> </div>

    <?php //gen head base on theme info
    $this->showBlock ('head');
    ?>

    <?php
    $blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <?php echo $this->showBlock ('css') ?>

    <!------ OAS SETUP begin ------>
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    //configuration
    OAS_url = 'http://oas.advit.it/RealMedia/ads/';
    OAS_sitepage = 'www.androiditaly.com/hp';
    OAS_listpos = 'Bottom,Middle1,Right1,Top,Top1';
    OAS_query = '';
    OAS_target = '_top';
    //end of configuration
    OAS_version = 10;
    OAS_rn = '001234567890'; OAS_rns = '1234567890';
    OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
    function OAS_NORMAL(pos) {
    document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>');
    document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>');
    }
    //-->
    </SCRIPT>
    <SCRIPT LANGUAGE=JavaScript1.1>
    <!--
    OAS_version = 11;
    if ((navigator.userAgent.indexOf('Mozilla/3') != -1) || (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1))
    OAS_version = 10;
    if (OAS_version >= 11)
    document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"></SCRIPT>');//-->
    </SCRIPT><SCRIPT LANGUAGE=JavaScript>
    <!--
    document.write('');
    function OAS_AD(pos) {
    if (OAS_version >= 11 && typeof(OAS_RICH)!='undefined')
    OAS_RICH(pos);
    else
    OAS_NORMAL(pos);
    } //-->
    </SCRIPT>
    <!------ OAS SETUP end ------>

    </head>

    <body id="bd" class="<?php if (!T3Common::mobile_device_detect()):?>bd<?php endif;?> <?php echo $this->getBodyClass();?>">

    <div id="ja-wrapper">
    <a name="Top" id="Top"></a>

    <?php
    $blks = &$this->getBlocksXML ('top');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <!-- MAIN CONTAINER -->
    <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w')?$this->getColumnWidth('cls_w'):'ja-mf'; ?>">
    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
    <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
    <!-- CONTENT -->
    <div id="ja-main" style="width:<?php echo $this->getColumnWidth('m') ?>%">
    <div class="inner clearfix">

    <?php echo $this->loadBlock ('message') ?>

    <?php
    //content-mass-top
    if($this->hasBlock('content-mass-top')) :
    $block = &$this->getBlockXML ('content-mass-top');
    ?>
    <div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php

    endif; ?>

    <div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">
    <div id="ja-content" class="column" style="width:<?php echo $this->getColumnWidth('cw') ?>%">
    <div id="ja-current-content" class="column" style="width:<?php echo $this->getColumnWidth('c') ?>%">
    <?php
    //content-top
    if($this->hasBlock('content-top')) :
    $block = &$this->getBlockXML ('content-top');
    ?>
    <div id="ja-content-top" class="ja-content-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php if (!$this->getParam ('hide_content_block', 0)): ?>
    <div id="ja-content-main" class="ja-content-main clearfix">
    <?php echo $this->showBlock ('content') ?>
    </div>
    <?php endif ?>

    <?php
    //content-bottom
    if($this->hasBlock('content-bottom')) :
    $block = &$this->getBlockXML ('content-bottom');
    ?>
    <div id="ja-content-bottom" class="ja-content-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset1
    if($this->hasBlock('inset1')) :
    $block = &$this->getBlockXML ('inset1');
    ?>
    <div id="ja-inset1" class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset2
    if($this->hasBlock('inset2')) :
    $block = &$this->getBlockXML ('inset2');
    ?>
    <div id="ja-inset2" class="ja-col column ja-inset2" style="width:<?php echo $this->getColumnWidth('i2') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    </div>

    <?php
    //content-mass-bottom
    if($this->hasBlock('content-mass-bottom')) :
    $block = &$this->getBlockXML ('content-mass-bottom');
    ?>
    <div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    </div>
    <!-- //CONTENT -->
    <?php if (($l = $this->getColumnWidth('l'))): ?>
    <!-- LEFT COLUMN-->
    <div id="ja-left" class="column sidebar" style="width:<?php echo $l ?>%">
    <?php
    //left-mass-top
    if($this->hasBlock('left-mass-top')) :
    $block = &$this->getBlockXML ('left-mass-top');
    ?>
    <div id="ja-left-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('left1') && $this->hasBlock('left2')) {
    $cls1 = "ja-left1";
    $cls2 = "ja-left2";
    }
    if ($this->hasBlock('left1') || $this->hasBlock('left2')):
    ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_l'); ?>">
    <?php if ($this->hasBlock('left1')):
    $block = &$this->getBlockXML('left1');
    ?>
    <div id="ja-left1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('l1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('left2')):
    $block = &$this->getBlockXML('left2');
    ?>
    <div id="ja-left2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('l2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //left-mass-bottom
    if($this->hasBlock('left-mass-bottom')) :
    $block = &$this->getBlockXML ('left-mass-bottom');
    ?>
    <div id="ja-left-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //LEFT COLUMN-->
    <?php endif; ?>

    </div>
    <?php if (($r = $this->getColumnWidth('r'))): ?>
    <!-- RIGHT COLUMN-->
    <div id="ja-right" class="column sidebar" style="width:<?php echo $r ?>%">

    <?php
    //left-mass-top
    if($this->hasBlock('right-mass-top')) :
    $block = &$this->getBlockXML ('right-mass-top');
    ?>
    <div id="ja-right-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('right1') && $this->hasBlock('right2')) {
    $cls1 = "ja-right1";
    $cls2 = "ja-right2";
    }
    if ($this->hasBlock('right1') || $this->hasBlock('right2')): ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_r'); ?>">
    <?php if ($this->hasBlock('right1')):
    $block = &$this->getBlockXML('right1');
    ?>
    <div id="ja-right1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('r1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('right2')):
    $block = &$this->getBlockXML('right2');
    ?>
    <div id="ja-right2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('r2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //right-mass-bottom
    if($this->hasBlock('right-mass-bottom')) :
    $block = &$this->getBlockXML ('right-mass-bottom');
    ?>
    <div id="ja-right-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //RIGHT COLUMN-->
    <?php endif; ?>
    <?php $this->genBlockEnd ($this->getBlocksXML ('middle')) ?>
    </div>
    <?php
    //Add fix height for main area
    if (T3Common::node_attributes ($this->getBlocksXML ('middle'), 'fixheight')) {
    $this->showBlock ('fixheight');
    }
    ?>
    <!-- //MAIN CONTAINER -->

    <?php
    $blks = &$this->getBlocksXML ('bottom');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    if (T3Common::getBrowserSortName() == 'ie' && T3Common::getBrowserMajorVersion() == 7) echo "<br class="clearfix"/>";
    $this->showBlock ($block);
    endforeach;
    ?>

    </div>

    <?php if ($this->isIE6()) : ?>
    <?php $this->showBlock('ie6/ie6warning') ?>
    <?php endif; ?>

    <?php $this->showBlock('debug') ?>

    <!-- OAS AD 'Right1' begin -->
    <SCRIPT type="text/javascript">
    <!--
    OAS_AD('Right1');
    //-->
    </SCRIPT>
    <!-- OAS AD 'Right1' end -->

    </body>

    </html>

    Wher I put the code inside default.php?

    evyna Friend
    #742906

    Is it possible to have all site inside the skin? And the skin linkable…

    I have insert your code but it is wrong… I think that I have put the code wrong….


    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. 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.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php if ($this->isIE() && ($this->isRTL())) { ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <?php } else { ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php } ?>

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

    <head>

    <div align="center"><!------ OAS AD 'Top' begin ------>
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    OAS_AD('Top');
    //-->
    </SCRIPT>
    <!------ OAS AD 'Top' end ------> </div>

    <?php //gen head base on theme info
    $this->showBlock ('head');
    ?>

    <?php
    $blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <?php echo $this->showBlock ('css') ?>

    <!------ OAS SETUP begin ------>
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    //configuration
    OAS_url = 'http://oas.advit.it/RealMedia/ads/';
    OAS_sitepage = 'www.androiditaly.com/hp';
    OAS_listpos = 'Bottom,Middle1,Right1,Top,Top1';
    OAS_query = '';
    OAS_target = '_top';
    //end of configuration
    OAS_version = 10;
    OAS_rn = '001234567890'; OAS_rns = '1234567890';
    OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
    function OAS_NORMAL(pos) {
    document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>');
    document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>');
    }
    //-->
    </SCRIPT>
    <SCRIPT LANGUAGE=JavaScript1.1>
    <!--
    OAS_version = 11;
    if ((navigator.userAgent.indexOf('Mozilla/3') != -1) || (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1))
    OAS_version = 10;
    if (OAS_version >= 11)
    document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"></SCRIPT>');//-->
    </SCRIPT><SCRIPT LANGUAGE=JavaScript>
    <!--
    document.write('');
    function OAS_AD(pos) {
    if (OAS_version >= 11 && typeof(OAS_RICH)!='undefined')
    OAS_RICH(pos);
    else
    OAS_NORMAL(pos);
    } //-->
    </SCRIPT>
    <!------ OAS SETUP end ------>

    </head>

    <body id="bd" class="<?php if (!T3Common::mobile_device_detect()):?>bd<?php endif;?> <?php echo $this->getBodyClass();?>">

    <div id="ja-wrapper">
    <a name="Top" id="Top"></a>

    <?php
    $blks = &$this->getBlocksXML ('top');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <!-- MAIN CONTAINER -->
    <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w')?$this->getColumnWidth('cls_w'):'ja-mf'; ?>">
    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
    <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
    <!-- CONTENT -->
    <div id="ja-main" style="width:<?php echo $this->getColumnWidth('m') ?>%">
    <div class="inner clearfix">

    <?php echo $this->loadBlock ('message') ?>

    <?php
    //content-mass-top
    if($this->hasBlock('content-mass-top')) :
    $block = &$this->getBlockXML ('content-mass-top');
    ?>
    <div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php

    endif; ?>

    <div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">
    <div id="ja-content" class="column" style="width:<?php echo $this->getColumnWidth('cw') ?>%">
    <div id="ja-current-content" class="column" style="width:<?php echo $this->getColumnWidth('c') ?>%">
    <?php
    //content-top
    if($this->hasBlock('content-top')) :
    $block = &$this->getBlockXML ('content-top');
    ?>
    <div id="ja-content-top" class="ja-content-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php if (!$this->getParam ('hide_content_block', 0)): ?>
    <div id="ja-content-main" class="ja-content-main clearfix">
    <?php echo $this->showBlock ('content') ?>
    </div>
    <?php endif ?>

    <?php
    //content-bottom
    if($this->hasBlock('content-bottom')) :
    $block = &$this->getBlockXML ('content-bottom');
    ?>
    <div id="ja-content-bottom" class="ja-content-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset1
    if($this->hasBlock('inset1')) :
    $block = &$this->getBlockXML ('inset1');
    ?>
    <div id="ja-inset1" class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>

    <?php
    //inset2
    if($this->hasBlock('inset2')) :
    $block = &$this->getBlockXML ('inset2');
    ?>
    <div id="ja-inset2" class="ja-col column ja-inset2" style="width:<?php echo $this->getColumnWidth('i2') ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    </div>

    <?php
    //content-mass-bottom
    if($this->hasBlock('content-mass-bottom')) :
    $block = &$this->getBlockXML ('content-mass-bottom');
    ?>
    <div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    </div>
    <!-- //CONTENT -->
    <?php if (($l = $this->getColumnWidth('l'))): ?>
    <!-- LEFT COLUMN-->
    <div id="ja-left" class="column sidebar" style="width:<?php echo $l ?>%">
    <?php
    //left-mass-top
    if($this->hasBlock('left-mass-top')) :
    $block = &$this->getBlockXML ('left-mass-top');
    ?>
    <div id="ja-left-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('left1') && $this->hasBlock('left2')) {
    $cls1 = "ja-left1";
    $cls2 = "ja-left2";
    }
    if ($this->hasBlock('left1') || $this->hasBlock('left2')):
    ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_l'); ?>">
    <?php if ($this->hasBlock('left1')):
    $block = &$this->getBlockXML('left1');
    ?>
    <div id="ja-left1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('l1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('left2')):
    $block = &$this->getBlockXML('left2');
    ?>
    <div id="ja-left2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('l2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //left-mass-bottom
    if($this->hasBlock('left-mass-bottom')) :
    $block = &$this->getBlockXML ('left-mass-bottom');
    ?>
    <div id="ja-left-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //LEFT COLUMN-->
    <?php endif; ?>

    </div>
    <?php if (($r = $this->getColumnWidth('r'))): ?>
    <!-- RIGHT COLUMN-->
    <div id="ja-right" class="column sidebar" style="width:<?php echo $r ?>%">

    <?php
    //left-mass-top
    if($this->hasBlock('right-mass-top')) :
    $block = &$this->getBlockXML ('right-mass-top');
    ?>
    <div id="ja-right-mass-top" class="ja-mass ja-mass-top clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php
    $cls1 = $cls2 = "";
    if ($this->hasBlock('right1') && $this->hasBlock('right2')) {
    $cls1 = "ja-right1";
    $cls2 = "ja-right2";
    }
    if ($this->hasBlock('right1') || $this->hasBlock('right2')): ?>
    <div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_r'); ?>">
    <?php if ($this->hasBlock('right1')):
    $block = &$this->getBlockXML('right1');
    ?>
    <div id="ja-right1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('r1')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>

    <?php if ($this->hasBlock('right2')):
    $block = &$this->getBlockXML('right2');
    ?>
    <div id="ja-right2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('r2')?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif ?>
    </div>
    <?php endif ?>
    <?php
    //right-mass-bottom
    if($this->hasBlock('right-mass-bottom')) :
    $block = &$this->getBlockXML ('right-mass-bottom');
    ?>
    <div id="ja-right-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>
    </div>
    <!-- //RIGHT COLUMN-->
    <?php endif; ?>
    <?php $this->genBlockEnd ($this->getBlocksXML ('middle')) ?>
    </div>
    <?php
    //Add fix height for main area
    if (T3Common::node_attributes ($this->getBlocksXML ('middle'), 'fixheight')) {
    $this->showBlock ('fixheight');
    }
    ?>
    <!-- //MAIN CONTAINER -->

    <?php
    $blks = &$this->getBlocksXML ('bottom');
    $blocks = &T3Common::node_children($blks, 'block');
    foreach ($blocks as $block) :
    if (T3Common::getBrowserSortName() == 'ie' && T3Common::getBrowserMajorVersion() == 7) echo "<br class="clearfix"/>";
    $this->showBlock ($block);
    endforeach;
    ?>

    </div>

    <?php if ($this->isIE6()) : ?>
    <?php $this->showBlock('ie6/ie6warning') ?>
    <?php endif; ?>

    <?php $this->showBlock('debug') ?>

    <!-- OAS AD 'Right1' begin -->
    <SCRIPT type="text/javascript">
    <!--
    OAS_AD('Right1');
    //-->
    </SCRIPT>
    <!-- OAS AD 'Right1' end -->

    </body>

    </html>

    Wher I put the code inside default.php?

    jooservices Friend
    #577983

    Hi there
    Please do not touch into php file.
    In fact please work with custom.css

    http://www.joomlart.com/video-tutorials/t3-framework/customize-template

    Please note
    # You can make your background image bigger for wide screen
    # And you can use background-color {#000} for rest part of ending image

    If you can’t work on it. Please provide your site FTP & Backend access. I’ll help you work on it.

    Thank you,
    Viet Vu

Viewing 15 posts - 1 through 15 (of 54 total)

This topic contains 54 replies, has 3 voices, and was last updated by  evyna 9 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum