test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • mikel2004 Friend
    #195947

    Hi!
    I wish to have five secnav position, can I?

    I add in templateDetails.xml file this code in red: <position>secnav-5</position>;
    and I add in /tpls/blocks/mainnav.php file this code in red: $hasright = $this->countModules(‘languageswitcherload or secnav-1 or secnav-2 or secnav-3 or secnav-4 or secnav-5’);
    ?>
    and this code in red:
    <!– INFO –>
    <?php if ($this->countModules(‘secnav-5’)) : ?>
    <li class=”dropdown nav-acymailling”>
    <a data-toggle=”dropdown” href=”/info-2″ class=”dropdown-toggle”>
    <i class=”icon-question-sign”></i>
    </a>
    <div class=”nav-child dropdown-menu”>
    <div class=”dropdown-menu-inner”>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘secnav-5’) ?>” style=”T3Xhtml” />
    </div>
    </div>
    </li>
    <?php endif ?>
    <!– //INFO –>

    What can I do?

    Thanks

    Nazario A Friend
    #527443

    @mikel2004,

    After you do step above, you need to assign a module to position “sevnav-5” in the back-end. You might need to add custom css for it. I tried to add for reference, here is result: http://prntscr.com/32frz3

    Let me know if you need further assistance.

    mikel2004 Friend
    #527672

    Great!

    Thanks!

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

This topic contains 3 replies, has 2 voices, and was last updated by  mikel2004 10 years, 9 months ago.

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