hi
it seems I have an issue with printCustomMenu() function.
1- in lastest documentation (https://docs.zenphoto.org/1.5.3/function-printCustomMenu.html), I can see that $option can be set to 'list-top'.
If I am not loggued in, it works fine: only top level menu items are shown.
But if I am loggued in, I have an issue : with the menu item with zenpagenewsindex type, I have a sub level displayed in my menu.
to be as clear as possible, with this menu item called "news", if I am on "news list" level, it's OK, but when I chose a news and when I am on "news" level, I have 2 levels on my menu:
- news
- news title
example of code with garland
in sidebar.php, I change `printCustomMenu($menu, 'list-top', '', "menu-active", "submenu", "menu-active", 2);` by `printCustomMenu($menu, 'list-top', '', 'active');`
when I am on top level of news menu, I have this code:
````
[list]
<li class="menu_galleryindex">gallery</li>
<li class="menu_zenpagenewsindex active">news</li>
[/list]
````
but If I choose a news item, I have this code:
````
[list]
<li class="menu_galleryindex">gallery</li>
<li class="menu_zenpagenewsindex -1">news
<ul class=" menu_zenpagenews">
<li class="menu_zenpagenews">zpBootstrap – un thème flexible Zenphoto (mis à jour)</li>
[/list]
</li>
</ul>
````
you can see the two levels displayed, and also "active" class disapeared.
I don't have this behavior with other type of menu item.