Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • jreimer Friend
    #893520

    I was also wondering why the module suffix options don’t all work anymore. Is there a way I can add more module suffix options like changing the background color of the module title?

    Thanks,
    Dan.

    pavit Moderator
    #893526

    Hi

    After you updated template to the T3 version , you can use the sidebar-content layout ( with some change ) to move sidebar to the right.

      $layout_config = json_decode ('{
        "one_sidebar2": {
          "default" : [ "span8"         , "span4"             ],
          "wide"    : [],
          "xtablet" : [ "span8"         , "span4"             ],
          "tablet"  : [ "span12"        , "span12 spanfirst"  ]
        }
      }');
      // positions configuration
      $sidebar2 = 'sidebar-2';
      // Detect layout
      if ($this->countModules("$sidebar2")) {
        $layout = 'one_sidebar2';
      } 
      $layout = $layout_config->$layout;
      $col = 0;
    ?>
    <section id="t3-mainbody" class="container t3-mainbody">
      <div class="row">  
        <!-- MAIN CONTENT -->
        <div id="t3-content" class="t3-content <?php echo $this->getClass($layout, $col) ?>" <?php echo $this->getData ($layout, $col++) ?>>
          <jdoc:include type="message" ></jdoc:include>
          <div class="main-content"> <jdoc:include type="component" ></jdoc:include></div>
          <jdoc:include type="modules" name="<?php $this->_p('masscol-1') ?>" style="T3Xhtml" />
          <jdoc:include type="modules" name="<?php $this->_p('masscol-2') ?>" style="T3Xhtml" />
        </div>
        <!-- //MAIN CONTENT -->
        <?php if ($this->countModules($sidebar2)) : ?>
        <!-- SIDEBAR 2 -->
        <div class="t3-sidebar t3-sidebar-2 <?php echo $this->getClass($layout, $col) ?><?php $this->_c($sidebar2)?>" <?php echo $this->getData ($layout, $col++) ?>>
          <jdoc:include type="modules" name="<?php $this->_p($sidebar2) ?>" style="T3Xhtml" />
        </div>
        <!-- //SIDEBAR 2 -->
        <?php endif ?>
      </div>
    </section> 

    1. Screenshot_5-1
    jreimer Friend
    #893534

    Hello,

    This is what I could like to do. See attached. Which file do I edit?


    1. movesidebar
    pavit Moderator
    #893540

    Hi there

    File to change as showed in my previous post is /templates/ja_nex_t3/tpls/blocks/left-content.php

    just change it as showed above and assign to the template the sidebar-content layout

    jreimer Friend
    #893553

    Thanks! I edited mainbody-homepage because that is what I am using, but changing the offset was all I needed.

    Any idea on how to add different module suffix options?

    Thanks,
    Dan.

    pavit Moderator
    #893578

    Any idea on how to add different module suffix options?

    Could you esplain in details ? you want to create new module class suffixes ?

    You can use a custom.css file in this folder /templates/ja_nex_t3/css and add your new class there

    HERE Documentation about custom.css file

    jreimer Friend
    #893585

    This is the part that is not working on the new version. I tried to set it to redbg and it also doesn’t work, unless you are using the default template settings. Once you save changes it stops working.


    1. moduleclasssuffix
    pavit Moderator
    #893589

    Add an empty space before the class suffix

    If you are still having problems with it you can share you admin details answering as private reply so i can take a look at it


    1. Screenshot_7-1
    jreimer Friend
    #893694
    This reply has been marked as private.
    jreimer Friend
    #901902

    Figured it out. I upgraded the site and I had to change the module suffix to the new naming convention. I change it from redbg to titleredbox

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

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

The topic ‘Move sidebar1 to right side’ is closed to new replies.