test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • nfhopmike Friend
    #189797

    Can anyone tell me how to add a search bar to the T3v3 navigation? I am using Joomla 3.1 and the normal T3v3 navigation bar.

    Ninja Lead Moderator
    #502683

    This way will help you to do that

    Open templates/t3_blank/tpls/blocks/mainnav.php file

    From


    <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 ?>

    change to


    <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 ?>

    <?php if ($this->countModules('new_position')) : ?>
    <div class="new_position<?php $this->_c('new_position')?>">
    <jdoc:include type="modules" name="<?php $this->_p('new_position') ?>" style="raw" />
    </div>
    <?php endif ?>

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum