Hello,
I have page structure like this:
- A
- B
- - C
- - D
- - - E
- F
Now I have this show menu call
$open = '<li class="[class]"><a href="[url]" class="[class]">[menu_title]</a>'."\n";
show_menu2(
$aMenu = 1,
$aStart = SM2_ROOT,
$aMaxLevel = SM2_ALL,
$aOptions = SM2_ALL,
$aItemOpen = $open,
$aItemClose = '</li>'."\n",
$aMenuOpen = '<ul>',
$aMenuClose = '</ul>',
$aTopItemOpen = false,
$aTopMenuOpen = '<ul>'
);
Now the problem is that in output, the item B, doesnt get class "menu-expand" but only "menu-sibling", and only D item has "menu-expand" class. Why is this happening ?