Hi, I am currently using the ARI Ext Menu (2.1.0) for my client site. Firstly, thank you for sharing this great menu! But then we found a problem with the menu active. For e.g, here is my menu:
- Parent Menu 1 (type: menulink, and it link to "Sub Menu 1")
------ Sub Menu 1 (any type of link)
------ Sub Menu 2 (any type of link)
------ Sub Menu 3 (any type of link)
With the above menu structure, when you click on "Parent Menu 1", the "Sub Menu 1" also selected as active, it is OK. But when you click on "Sub Menu 2" (or Sub Menu 3), then the "Sub Menu 1" still active, it is the ERROR.
I looked at the code and find out the solution. Just go to modules\mod_ariextmenu\mod_ariextmenu\kernel\Menu\class.Menu.php
find this code on line 160:
Code: |
if ($tree[$i] == $menuActive->id || $currentItem->id == $menuActive->id)
|
and replace with:
Code: |
if ($tree[$i] == $menuActive->id)
|
It then works. I hope it help for other people that get the same problems, and hope the developer will fix it for the next version.
Cheers!