-
AuthorPosts
-
jreimer Friend
jreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
March 2, 2016 at 4:04 pm #893520I 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 2, 2016 at 4:13 pm #893526Hi
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>
jreimer Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
March 2, 2016 at 4:20 pm #893534pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 2, 2016 at 4:27 pm #893540Hi 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 Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
March 2, 2016 at 4:35 pm #893553Thanks! 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 2, 2016 at 5:09 pm #893578Any 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 Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
March 2, 2016 at 5:17 pm #893585This 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.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 2, 2016 at 5:26 pm #893589Add 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
jreimer Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
March 2, 2016 at 9:17 pm #893694This reply has been marked as private.jreimer Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
AuthorPostsViewing 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.
Jump to forum