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. Jalal
  2. General Discussion
  3. Tuesday, 01 July 2014
  4.  Subscribe via email
Hi Again :)

I'm using the t3_bs3_blank template and I'd like to add modules to the mainnav position.

Firstly I would like to my search form to the mainnav, similarly to the way the search is located on this website, on the right, although I don't need it to hide and show like it does on this site. I tried assigning it to the mainnav position but it doesn't show at all.

Secondly, I wanted to be able to add a second menu to the mainnav, that shows up underneath the main navigation. The menu is a registered user menu and would only show if the user has the correct access. Again I tried assigning it to the mainnav position but again it doesn't show up.

I currently have both these as modules in the sidebar but it would be great if I could put them in the mainnav.

Any ideas? And Thank you again for all your help.
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Jalal,

To add new position to the mainnav, please open the mainnav.php file (templates/t3_bs3_blank/tpls/blocks) then add new position to the position you want.

Example:

<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" />


Please note that you may have to style the mainnav.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Gardner, I've done what you said, but I can't see the new position in the modules manager.. What am I missing?
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
If it's a new module, you have to define it in the templateDetails.xml file. Please check out the documentation: http://t3-framework.org/documentation/bs3-layout-system#add-position

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


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