-
AuthorPosts
-
October 20, 2015 at 10:15 am #705986
Hi,
I am trying to change width of a position in a block in the T3 Bs3 Blank template, but after reading the T3 documentation I can still not do it. I want to change width of position “Home-5” so that both sidebars (left and right) go around it in the same way as for “Message” and “Component” positions:
Can someone please help me achieve this?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 20, 2015 at 4:06 pm #706093Perhaps the following resource may be of further assistance to you . . . T3 LAYOUT SYSTEM
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 20, 2015 at 4:06 pm #752310Perhaps the following resource may be of further assistance to you . . . T3 LAYOUT SYSTEM
October 20, 2015 at 4:56 pm #706103I watched the videos and read the T3 doc this morning have not found the answer to my question in it.
I managed to add the “Home 5” position but I cant set it to be surrounded by the sidebar1 and sidebar 2 (same as “Message” and “Component”).
Thanks for your assistance.
October 20, 2015 at 4:56 pm #752320I watched the videos and read the T3 doc this morning have not found the answer to my question in it.
I managed to add the “Home 5” position but I cant set it to be surrounded by the sidebar1 and sidebar 2 (same as “Message” and “Component”).
Thanks for your assistance.
arthurjohnston Friendarthurjohnston
- Join date:
- November 2010
- Posts:
- 170
- Downloads:
- 152
- Uploads:
- 16
- Thanks:
- 58
- Thanked:
- 27 times in 2 posts
October 21, 2015 at 3:08 am #706142What you are asking for is custom work.
Review the instructions at: http://getbootstrap.com/css/#grid.
Replace the Home-5 block with another block created from instructions above.
arthurjohnston Friendarthurjohnston
- Join date:
- November 2010
- Posts:
- 170
- Downloads:
- 152
- Uploads:
- 16
- Thanks:
- 58
- Thanked:
- 27 times in 2 posts
October 21, 2015 at 3:08 am #752359What you are asking for is custom work.
Review the instructions at: http://getbootstrap.com/css/#grid.
Replace the Home-5 block with another block created from instructions above.
October 21, 2015 at 2:43 pm #706305Hello,
I managed to add the position in the layout:
But the problem is that in the front page now it looks like this:
The sidebar 2 is pushing Home-2 down (FYI I don’t use sidebar 1 for the moment. I only use sidebar 2).
This is how I proceeded:
I added this line in the file “mainbody/two-side-bar.php”:
<jdoc:include type=”modules” name=”<?php $this->_p(‘home-2’) ?>” ” style=”T3Xhtml” />
I added the line just below the component:
<?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;
/**
* Mainbody 3 columns, content in center: sidebar1 – content – sidebar2
*/
?><div id=”t3-mainbody” class=”container t3-mainbody”>
<div class=”row”><!– MAIN CONTENT –>
<div id=”t3-content” class=”t3-content col-xs-12 col-md-6 col-md-push-3″>
<?php if($this->hasMessage()) : ?>
<jdoc:include type=”message” />
<?php endif ?>
<jdoc:include type=”component” />
<jdoc:include type=”modules” name=”<?php $this->_p(‘home-2’) ?>” ” style=”T3Xhtml” />
</div>
<!– //MAIN CONTENT –><!– SIDEBAR 1 –>
<div class=”t3-sidebar t3-sidebar-1 col-xs-6 col-md-3 col-md-pull-6 <?php $this->_c($vars[‘sidebar1’]) ?>”>
<jdoc:include type=”modules” name=”<?php $this->_p($vars[‘sidebar1’]) ?>” style=”T3Xhtml” />
</div>
<!– //SIDEBAR 1 –><!– SIDEBAR 2 –>
<div class=”t3-sidebar t3-sidebar-2 col-xs-6 col-md-3 <?php $this->_c($vars[‘sidebar2’]) ?>”>
<jdoc:include type=”modules” name=”<?php $this->_p($vars[‘sidebar2’]) ?>” style=”T3Xhtml” />
</div>
<!– //SIDEBAR 2 –></div>
</div>Do you know what is wrong?
October 21, 2015 at 2:43 pm #752411Hello,
I managed to add the position in the layout:
But the problem is that in the front page now it looks like this:
The sidebar 2 is pushing Home-2 down (FYI I don’t use sidebar 1 for the moment. I only use sidebar 2).
This is how I proceeded:
I added this line in the file “mainbody/two-side-bar.php”:
<jdoc:include type=”modules” name=”<?php $this->_p(‘home-2’) ?>” ” style=”T3Xhtml” />
I added the line just below the component:
<?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;
/**
* Mainbody 3 columns, content in center: sidebar1 – content – sidebar2
*/
?><div id=”t3-mainbody” class=”container t3-mainbody”>
<div class=”row”><!– MAIN CONTENT –>
<div id=”t3-content” class=”t3-content col-xs-12 col-md-6 col-md-push-3″>
<?php if($this->hasMessage()) : ?>
<jdoc:include type=”message” />
<?php endif ?>
<jdoc:include type=”component” />
<jdoc:include type=”modules” name=”<?php $this->_p(‘home-2’) ?>” ” style=”T3Xhtml” />
</div>
<!– //MAIN CONTENT –><!– SIDEBAR 1 –>
<div class=”t3-sidebar t3-sidebar-1 col-xs-6 col-md-3 col-md-pull-6 <?php $this->_c($vars[‘sidebar1’]) ?>”>
<jdoc:include type=”modules” name=”<?php $this->_p($vars[‘sidebar1’]) ?>” style=”T3Xhtml” />
</div>
<!– //SIDEBAR 1 –><!– SIDEBAR 2 –>
<div class=”t3-sidebar t3-sidebar-2 col-xs-6 col-md-3 <?php $this->_c($vars[‘sidebar2’]) ?>”>
<jdoc:include type=”modules” name=”<?php $this->_p($vars[‘sidebar2’]) ?>” style=”T3Xhtml” />
</div>
<!– //SIDEBAR 2 –></div>
</div>Do you know what is wrong?
arthurjohnston Friendarthurjohnston
- Join date:
- November 2010
- Posts:
- 170
- Downloads:
- 152
- Uploads:
- 16
- Thanks:
- 58
- Thanked:
- 27 times in 2 posts
October 22, 2015 at 3:34 am #706350An easy solution for your issues does not exist.
If you have not already, install Akeeba Backup an perform at least 2 backups. Then create a new Super User account, send the site information, FTP Information and the logon information to me via private email. I can complete it this weekend.
arthurjohnston Friendarthurjohnston
- Join date:
- November 2010
- Posts:
- 170
- Downloads:
- 152
- Uploads:
- 16
- Thanks:
- 58
- Thanked:
- 27 times in 2 posts
October 22, 2015 at 3:34 am #752456An easy solution for your issues does not exist.
If you have not already, install Akeeba Backup an perform at least 2 backups. Then create a new Super User account, send the site information, FTP Information and the logon information to me via private email. I can complete it this weekend.
Also, are you attempting to add a new module position or a new block and module position?
-
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by arthurjohnston 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum