I replaced the code in the two positions mentioned, and It's working fine in my case:
foreach ($menu_items as $menuItem)
if($menuItem->level=="1" or $menuItem->level=="2")
$menuNav .= $this->getUserMenuItem($menuItem);
Not's exactly the think I mentioned, but is working fine.
I see that this mod able a limit on a maximum children items level to 1 or 2 (is great to me, because the hidden items has a 3 children's level), but is better if it's possible to manage the "Display in menu" option (link to see the property I refer).
Now, I fully enjoy your extension!
Thank you so much!
I have your SCLogin integrated in our webpage and we try to use with menus that have a submenus with a hidden elements (used to redirect a certain parts and pages of our webpage, not's to use same a link to our guests), but your module show these elements. Is it possible to avoid it? Or it's mandatory that all menu items and submenus placed in the linked menu has active and visible?
In addition, is possible to select a maximum submenus level?
Thank you so much,
P.D. I send you the best wishes due to Irma