Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • tomasz grabski Friend
    #965286

    Is it possible to add position next to "Component" in JA Mono?

    If so, how?

    Saguaros Moderator
    #965692

    @

    The ‘component’ block included in the mainbody block of template, to add a new position, you can go to file: ROOT/templates/ja_mono/tpls/blocks/mainbody.php

    <div id="t3-mainbody" class="t3-mainbody col-xs-12 col-sm-12">
      <div class="row">
        <!-- MAIN CONTENT -->
        <div id="t3-content" class="t3-content col-xs-11 col-sm-8">
          <?php if($this->hasMessage()) : ?>
          <jdoc:include type="message" />
          <?php endif ?>
          <jdoc:include type="component" />
        </div>
        <!-- //MAIN CONTENT -->
      </div>
    </div> 

    and add position under ‘component’ block.

    The template is built with T3 framework which implements Bootstrap so it will has grid system, you can add a new div tag but make sure that the total grid of ‘t3-content’ and your new div should be equal to 12. For example:

    <div id="t3-mainbody" class="container t3-mainbody">
    <div class="row">
    
    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12 col-sm-8 col-md-9"><div class="inner">
        <?php if($this->hasMessage()) : ?>
        <jdoc:include type="message" />
        <?php endif ?>
        <jdoc:include type="component" />
    </div></div>
    <!-- //MAIN CONTENT -->
    
    <!-- New position RIGHT -->
    <div class="t3-sidebar t3-sidebar-right col-xs-12 col-sm-4  col-md-3"><div class="inner">
        <jdoc:include type="modules" name="new_position" style="T3Xhtml" />
    </div></div>
    <!-- //New position RIGHT -->
    
    </div>
    </div> 

    Hope this helps.

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

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 8 years, 2 months ago.

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