Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Error with "menulink" menu type in Joomla 1.5
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Error with "menulink" menu type in Joomla 1.5
#29895
Error with "menulink" menu type in Joomla 1.5 11 Years, 11 Months ago Karma: 0
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!
The administrator has disabled public write access.
 
Go to topPage: 1