We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Bun
  2. General Discussion
  3. Friday, 07 November 2014
  4.  Subscribe via email
Hello....,
I am sorry to ask this question that may sound simple for you, but still not clear enough to me after I read the documentation.
I want to add module position in main body block, the module should be in between sidebar-1 and sidebar-2 above the "message" or "content".

Actually the module position should like "position-3" of default "protostar template" of joomla 3.x.

Where do i put the div and what class or id tag should i use?

Thank you and Best regards,
Bun
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Bun,

To add the position as you expect, please open the "templates\t3_bs3_blank\tpls\blocks\mainbody\two-sidebar.php" then loads a position inside the Main Content block.

<jdoc:include type="modules" name="<?php $this->_p('position-3') ?>" " style="T3Xhtml" />


Here is an example to add "position-3" to the main content block.

<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">
<jdoc:include type="modules" name="<?php $this->_p('position-3') ?>" " style="T3Xhtml" />
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<jdoc:include type="component" />
</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>


And here is the layout after adding new position

http://easycaptures.com/fs/uploaded/916/9560443538.png

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.