Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • giuliano m Friend
    #207217

    It can be divided the sidebar or create a new position near sidebar ?


    1. Screenshot_6
    Ninja Lead Moderator
    #573694

    You can find, add new position near sidebar position this way

    + Go to templates/ja_teline_v/tpls/blocks/mainbody.php file

    + Add new position by referring this guide here

    Ninja Lead Moderator
    #738708

    You can find, add new position near sidebar position this way

    + Go to templates/ja_teline_v/tpls/blocks/mainbody.php file

    + Add new position by referring this guide here

    giuliano m Friend
    #573729

    Thanks ^^ as always for your valuable advice

    I saw that maybe it’s easier to create a spotlight. (http://www.t3-framework.org/documentation/layout-system.html#code-format)

    You can tell me the correct code to do this pls

    giuliano m Friend
    #738743

    Thanks ^^ as always for your valuable advice

    I saw that maybe it’s easier to create a spotlight. (http://www.t3-framework.org/documentation/layout-system.html#code-format)

    You can tell me the correct code to do this pls

    Ninja Lead Moderator
    #573819

    You can use that code below

    Open templates/ja_teline_v/tpls/blocks/mainbody.php file

    find and change


    <?php if ($hasSidebar) : ?>
    <!-- SIDEBAR RIGHT -->
    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c($sidebar) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($sidebar) ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR RIGHT -->
    <?php endif ?>

    to

    <?php if ($hasSidebar) : ?>
    <!-- SIDEBAR RIGHT -->
    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c($sidebar) ?>">
    <?php $this->spotlight('sidebar', 'sidebar, sidebar-1') ?>
    </div>
    <!-- //SIDEBAR RIGHT -->
    <?php endif ?>

    giuliano m Friend
    #573926

    Thank you for your time ^^
    I made a mistake. the third column I need for category. mainbody-magazine.php
    my objective It is to have three columns for displaying the categories and the home

    a solution for the articles was here, similar to yours
    http://www.joomlart.com/forums/topic/adding-vertical-position/

    how to do this for category and home .

    giuliano m Friend
    #738940

    Thank you for your time ^^
    I made a mistake. the third column I need for category. mainbody-magazine.php
    my objective It is to have three columns for displaying the categories and the home

    a solution for the articles was here, similar to yours
    http://id.joomlart.com/forums/topic/adding-vertical-position/

    how to do this for category and home .

    Ninja Lead Moderator
    #574055

    You can give me the screenshot and describe on that from front-end of your site what did you expect? It would help to understand your request, I will help you out

    giuliano m Friend
    #574162

    Thanks for your help and for your time.

    I would get this result

    similar to this


    1. Screenshot_9
    2. template-la-repubblica.it_
    Ninja Lead Moderator
    #574395

    Try to change templates/ja_teline_v/tpls/blocks/mainbody.php file as my suggestion below and don’t forget to backup old file before doing changes


    <?php
    /**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;

    $sidebar = 'sidebar';
    $hasSidebar = $this->countModules ($sidebar);
    $mainwidth = $hasSidebar ? ' col-md-6' : ' col-md-12';
    ?>

    <div class="main">

    <?php if ($this->countModules('home-1')) : ?>
    <div class="wrap <?php $this->_c('home-1') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-1') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <div id="t3-mainbody" class="container t3-mainbody">

    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content<?php echo $mainwidth ?>">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    <?php if ($this->countModules('sidebar1')) : ?>
    <!-- SIDEBAR1 RIGHT-->
    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c('sidebar1') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('sidebar1') ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR RIGHT -->
    <?php endif ?>

    <?php if ($this->countModules('sidebar2')) : ?>
    <!-- SIDEBAR2 RIGHT-->
    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c('sidebar2') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('sidebar2') ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR RIGHT -->
    <?php endif ?>

    </div>

    </div>

    <?php if ($this->countModules('home-2')) : ?>
    <div class="wrap <?php $this->_c('home-2') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-2') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    </div>

    Hope it helps


    1. Screen-Shot-2015-06-17-at-15.09.23
    giuliano m Friend
    #575167

    thanks works for the items but not for the categories and the Home
    For categories may be modified this file mainbody-magazine.php ( templates/ja_teline_v/tpls/blocks/mainbody-magazine.php/

    the original situation is this ( for layout of homepage and categories)


    1. mag
    giuliano m Friend
    #641497

    thanks works for the items but not for the categories and the Home
    For categories may be modified this file mainbody-magazine.php ( templates/ja_teline_v/tpls/blocks/mainbody-magazine.php/

    the original situation is this ( for layout of homepage and categories)

    giuliano m Friend
    #740159

    thanks works for the items but not for the categories and the Home
    For categories may be modified this file mainbody-magazine.php ( templates/ja_teline_v/tpls/blocks/mainbody-magazine.php/

    the original situation is this ( for layout of homepage and categories)

    Ninja Lead Moderator
    #575301

    With homepage you can use this way

    Open templates/ja_teline_v/tpls/blocks/mainbody-full.php file

    find and change


    <div id="t3-mainbody" class="container t3-mainbody">

    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>

    <!-- MAIN CONTENT -->
    <jdoc:include type="component" />
    <!-- //MAIN CONTENT -->

    </div>

    to


    <div id="t3-mainbody" class="container t3-mainbody">
    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-md-3">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    <?php if ($this->countModules('sidebar1')) : ?>
    <!-- SIDEBAR1 RIGHT-->
    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c('sidebar1') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('sidebar1') ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR RIGHT -->
    <?php endif ?>

    <?php if ($this->countModules('sidebar2')) : ?>
    <!-- SIDEBAR2 RIGHT-->
    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c('sidebar2') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('sidebar2') ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR RIGHT -->
    <?php endif ?>

    </div>

    </div>

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

This topic contains 24 replies, has 2 voices, and was last updated by  Ninja Lead 9 years, 4 months ago.

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