-
AuthorPosts
-
May 11, 2014 at 5:38 am #197606
t3_bs3_blank
How can I add a module beside Main Menu section. I would like a search module next to the parent menu items. Example
home about us – contact us – search module
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
May 11, 2014 at 10:41 am #534485If you check the documentation you’ll see a section all about layouts, how to add a new block and how to add a module position to a block.
http://t3-framework.org/documentation/bs3-layout-system#add-layout
1 user says Thank You to swissa for this useful post
May 11, 2014 at 1:36 pm #534499I saw that but didn’t get why you couldn’t add a module to the mainmenu block from the start. No worries thanks!
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
May 11, 2014 at 5:36 pm #534516Hey nokki00,
You can do this if you edit the php file sin the template area. This can’t be done in the back end.
If you go to the /templates/t3_bs3_blank/tpls/blocks/mainnav.php
you will see a section that holds the main nav. You will need to modify this so that it doesn’t hold the whole container area of 12 columns. Then you can add another div that takes up the remainder of the width (to 12 columns) such as an 8 columns space for the navbar and 4 for the search module, and put the part that holds the search like it in the header.php, like this
<div class="head-search <?php $this->_c('head-search') ?>">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
I know this isn’t exactly what you need to do, but you should be able to figure it out from there. It will certainly take some trial and error to get it exactly right. You will also need to test this to be sure that you haven’t messed up the responsive parts of it.
Does this help?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administrator1 user says Thank You to Scott Lavelle for this useful post
May 12, 2014 at 1:48 am #534536It sure does! I was on the right track too. I just didn’t think something so simple needed a block of code and I don’t mind adding the code to get the results. I will make it fit via the ini or css too.
Thanks!
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by nokki00 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum