Author Topic: template AdventureStrap Light menu  (Read 1846 times)

Offline Klimentiy

  • Posts: 12
template AdventureStrap Light menu
« on: March 18, 2016, 07:47:48 PM »
 Hi! Help with a problem in the template AdventureStrap Light. I need when clicking on the 0 level of the menu opens the page. Here is the code menu.
Thanks to everyone who helped.

<!-- **********************************************************
            ************************************************************ -->
            <nav class="navbar navbar-default">
                <div class="container">
                    <div id="navbar" class="navbar-collapse collapse">
                        <?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL | SM2_ALLINFO, '<li class="[if(class=menu-current||class=menu-parent){active}] [if(class==menu-expand&&level==0){dropmenu}] [if(level==0){color-random}] [if(class==menu-expand&&level==1){dropdown-submenu}]">[if(class==menu-expand){<a href="[url]">[menu_title] <i class="fa fa-caret-down"></i></a>}else {<a href="[url]">[menu_title]</a>}]', '</li>', '<ul class="[if(level==0){nav} else {dropdown-menu}]">', '</ul>', false, '<ul class="nav navbar-nav navbar-left">') ?>
                    </div><!-- /#navbar -->
                </div><!-- /.container -->


  • Guest
Re: template AdventureStrap Light menu
« Reply #1 on: March 18, 2016, 08:16:23 PM »
The concept of this template is: Create Menu Link objects on the first level of your site which link to the content pages on the 2nd level. Otherwise you will not succeed with this template.