test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • freissmann Developer
    #168194

    Hi,
    how can I move the “main content” to the left top.
    I tried alredy using the Layout-management of the template but that is not working…

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="header" type="header" wrap-inner="1" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="slideshow" type="modules" wrap-inner="1" style="raw">slideshow</block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    <block name="topsl1" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    </blocks>
    <blocks name="middle" colwidth="34" fixheight="1">
    <block name="content-mass-top">content-mass-top</block>
    <block name="content-mass-bottom">content-mass-bottom</block>
    <block name="content-top" type="modules">content-top</block>
    <block name="content-bottom" type="modules" style="raw">content-bot</block>
    <block name="left1">left</block>
    <block name="left2">right</block>
    <block name="left-mass-top">left-mass-top</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1" wrap-inner="1" >content-bottom</block>
    <block name="botsl1" type="spotlight" main-inner="1">user11,user12,user13,user14,user15</block>
    <block name="navhelper" type="navhelper"></block>
    <block name="botsl2" type="spotlight" main-inner="1">user16,user17,user18,user19,user20</block>
    <block name="footer" type="footer" wrap-inner="1"></block>
    </blocks>
    </layout>

    Thanks for any help.

    freissmann Developer
    #410804

    To be more specific I attached a pic 😉


    1. ss
    khoand Friend
    #410806

    <em>@freissmann 265409 wrote:</em><blockquote>Hi,
    how can I move the “main content” to the left top.
    I tried alredy using the Layout-management of the template but that is not working…

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="header" type="header" wrap-inner="1" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="slideshow" type="modules" wrap-inner="1" style="raw">slideshow</block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    <block name="topsl1" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    </blocks>
    <blocks name="middle" colwidth="34" fixheight="1">
    <block name="content-mass-top">content-mass-top</block>
    <block name="content-mass-bottom">content-mass-bottom</block>
    <block name="content-top" type="modules">content-top</block>
    <block name="content-bottom" type="modules" style="raw">content-bot</block>
    <block name="left1">left</block>
    <block name="left2">right</block>
    <block name="left-mass-top">left-mass-top</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1" wrap-inner="1" >content-bottom</block>
    <block name="botsl1" type="spotlight" main-inner="1">user11,user12,user13,user14,user15</block>
    <block name="navhelper" type="navhelper"></block>
    <block name="botsl2" type="spotlight" main-inner="1">user16,user17,user18,user19,user20</block>
    <block name="footer" type="footer" wrap-inner="1"></block>
    </blocks>
    </layout>

    Thanks for any help.</blockquote>
    Hi,
    You replace this code from /plugins/system/jat3/jat3/base-themes/default/css/layout.css in the line #67

    #ja-current-content, #ja-main {
    float: right;
    }

    with

    #ja-current-content, #ja-main {
    float: left;
    }

    Phill Moderator
    #410813

    Firstly, it is best to make css edits in the templates folder so if you were going to use that code then it would be best to add it to add it to the template.cs file in templates>ja_travel>css>templates.css

    However all that code would do is swap the left and right columns over and I am not sure that is what this user is after. Instead I am guessing tha he wants the content in the left module block, within the styled area above the “Prepare for Travelling” item? That would require a little more than a simple css change.

    friessmann,

    Can you confirm that is what you are attempting to do?

    If that is the case the first thing we would have to do would be move the content blick into the left column. To do that we create a new directory called templates>ja_travel>page and in it we create a new file called default.php containing the following code

    <?php
    /**
    * ------------------------------------------------------------------------
    * JA T3 System plugin for Joomla 1.7
    * ------------------------------------------------------------------------
    * Copyright (C) 2004-2011 JoomlArt.com. All Rights Reserved.
    * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.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();?>">
    <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
    //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 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
    //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') ?>
    </body>
    </html>

    We then need to adjust a couple of minimum heights and add a little margin and we should be done but I would not want to investigate that until we can confirm this is what you want. Please see my screenshot below showing the layout I think you are asking for.


    1. Home_1315248402293
    freissmann Developer
    #412346

    Hi Phill!

    Thanks for your answer. To clarify the requirements I attached a more detailed pic incl. layout positions:

    What do we want:

    move content-top, content, content-bot & content-mass-bottom

    before left-mass-top


    1. ss1
    khoand Friend
    #412880

    You change templates/ja_travel/page/default.php file with content


    <?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();?>">
    <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>
    <!-- //CONTENT -->
    <?php if (($l = $this->getColumnWidth('l'))): ?>
    <!-- LEFT COLUMN-->
    <div id="ja-left" class="column sidebar" style="width:<?php echo $l ?>%">
    <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>

    <?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') ?>

    </body>

    </html>
    Note: for travel j1.5

    Phill Moderator
    #412884

    Friesman,Which version of Joomla are you using? From Khoands first reply he gave a code modification for J1.7 (there are 2 jat3s in the link) so I assumed that you are using J1.7.The code I gave you above could do what you are requesting with some modification but do you want the content to be inside the styled box or above all the styling?

    freissmann Developer
    #412890

    hi phill,
    thanks- you are right – its for J1.7.
    main content should be inside the styled box.
    So what would be the nessesary changes?

    freissmann Developer
    #416391

    hi phill,

    your code / solution is achieving exactly what I want – I will try to make the necessary CSS adjustments by my self – if necessary I will come back to you.
    Thanks for your help.
    Greetings
    Frank

    freissmann Developer
    #418442

    Hi Phil,
    homepage is working with that code but somehow on subpages there isn’t shown content anymore – any ideas?

    e.g:
    http://www.rrc-group.de/clients/emilq/rp/index.php/impressum

    org blog view here:
    http://www.rrc-group.de/clients/emilq/rp/index.php/2011-08-24-13-42-38/natur-pur

    freissmann Developer
    #418749

    phil,
    very strange I just viewed the mentioned pages with ?tp=1 and somehow the “main content” appears – if switching off “showing blank postions” it disappears….
    What the **** do I miss here?? :-[

    freissmann Developer
    #419737

    Is there no solution on that one?

    jooservices Friend
    #421638

    Hi,
    I have replied you in your new thread!
    Thanks
    Viet Vu

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

This topic contains 13 replies, has 4 voices, and was last updated by  jooservices 13 years, 1 month ago.

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