Main Menu only shows first level items.
Second level is not showed,although you mark as expanded them in menu options.
Example
--Unit
-----Group1
----------Service1
-----Group2
----------Service2
----------Service3
Groups are showed. Not Services.
Did you know how to implement this?
Looks that there are several problems with menu if you don't want the default menu.

Comments

luistope’s picture

Status: Active » Closed (fixed)

With the help in: https://drupal.org/node/1026036
I found a solution for myself.
Modify region--menu.tpl.php as:

<?php
if ($main_menu) {
$pid = variable_get('menu_main_links_source', 'main-menu');
$tree = menu_tree($pid);
$tree = str_replace(' class="menu"', '', $tree);
$main_menu = render($tree);
}else{
$main_menu = FALSE;
}
?>

<div<?php print $attributes; ?>>
  <div<?php print $content_attributes; ?>>
    <nav class="navigation">
      <?php if ($main_menu): print $main_menu; endif; ?>
	    <!- print render($dropdown_menu); --> 
    </nav>
    <?php print $content; ?>
  </div>
</div>

If you want to show third level at the right you must modify global.css


.navigation ul li ul li:hover > ul{
	display: block;
	left: 200px;
	top:-10px;
}