Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • zloniko Friend
    #175331

    Good morning! I try to change standard layout in T3 blank template. I want to have this:

    But i could not find any information how to do it in header…
    Please help me!


    1. scheme
    khoand Friend
    #445482

    You create a new file which name is /templates/your_template/block/mainnavnew.php


    <div id="ja-col1">
    <jdoc:include type="modules" name="module1" />
    </div>
    <div id="ja-col2">
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    <!-- jdoc:include type="menu" level="0" / -->

    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id="ja-subnav" class="clearfix">
    <?php $jamenu->genMenu (1); ?>
    <!-- jdoc:include type="menu" level="1" / -->
    </div>
    <?php endif;?>

    <jdoc:include type="modules" name="module2" />
    </div>

    You add the code into /templates/your_template/css/template.css


    #ja-col1{
    float:left;
    width:30%;
    }
    #ja-col2{
    float:right;
    width:70%;
    }

    You login backend > extensions > template manager > your_template > layout tab > edit default layout > replace the code


    <block name="mainnav" type="mainnav" main-inner="1"></block>

    with


    <block name="mainnavnew" type="mainnavnew"></block>

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

This topic contains 2 replies, has 2 voices, and was last updated by  khoand 12 years, 8 months ago.

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