Autonav multi level menu

Permalink
Hi, I'm trying to get the below menu structure to work with no luck please help!

Here is the HTML code:
<div class="res-container">
                        <ul class="nav navbar-nav">
                            <!-- Home -->
                            <li>
                                <a href="/en">
                                    Home
                                </a>
                            </li>
                            <!-- End Home -->
                            <!-- Services -->
                            <li class="dropdown mega-menu-fullwidth">
                                <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                                    Services
                                </a>
                                <ul class="dropdown-menu">


Here is the view.php template:

<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php //View::getInstance()->requireAsset('javascript', 'jquery');
$navItems = $controller->getNavItems();
/**
 * The $navItems variable is an array of objects, each representing a nav menu item.
 * It is a "flattened" one-dimensional list of all nav items -- it is not hierarchical.
 * However, a nested nav menu can be constructed from this "flat" array by
 * looking at various properties of each item to determine its place in the hierarchy
 * (see below, for example $navItem->level, $navItem->subDepth, $navItem->hasSubmenu, etc.)
 *
 * Items in the array are ordered with the first top-level item first, followed by its sub-items, etc.
 *
 * Each nav item object contains the following information:
 *   $navItem->url        : URL to the page
 *   $navItem->name       : page title (already escaped for html output)


All went well except the <ul class="dropdown-menu"> and <ul class="dropdown-link-list">

The code picks up only the "dropdown-menu" class and never the class "dropdown-link-list" doesn't matter what I did ...

Thanks in advance

 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.