T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. nghi
  2. General Discussion
  3. Friday, 25 July 2014
  4.  Subscribe via email
I am currently using version T3_blank _j25 I've added a module search in position mainnav but not displayed front-end page.
Example: http://www.jakeauerbachfilms.com/ module search display like this

I want to display a small image on the menu in position mainv, how to do.
Example: logo T3 on menu of website http://t3-framework.org/
I look forward to the reply.
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

That means you want to have mainnav with logo >> mainmenu >> search. Here are the the sample code:

<?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;
?>
<div class="container">
<div class="row">

<div class="span2">
<jdoc:include type="modules" name="<?php $this->_p('position-1') ?>" />
</div>

<!-- MAIN NAVIGATION -->
<div class="span8">
<nav id="t3-mainnav" class="t3-mainnav wrap navbar-collapse-fixed-top">
<div class="container navbar">
<div class="navbar-inner">

<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>

<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<jdoc:include type="megamenu" />
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>
</div>
<!-- //MAIN NAVIGATION -->

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


P/S: please note that you have to customize the style. This is just the sample and a tip to help you create such structure mainnav.

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.