Additional Info
Type
Package ID
DreamPortalTeam:is-active_fix
First Created
April 23, 2010, 10:39:57 PM
Last Updated
April 23, 2010, 10:44:52 PM

$grandchildbutton 'is_active' fix v1.0

Prevents undefined 'is_active' for second/third layer menus.
Compatible With 2.0 RC3
Latest version v1.0
Downloads 1,957
Reviews 0
Rating 0/5
Subscribers 0
License (View License)
Author(s)
If you're like me and have edited your top menu or have created a site menu which contains second or third layer sub-buttons for the dropdowns, you may have noticed a large number of undefined is_active in your Error Log.

This is because the template_menu() function checks for is_active for grandchildren, when it is impossible for a grandchild to be active (as it is not seen from the default menu itself).

The following modification is a fix for this problem. This will repair the issue only for the default theme and any other curve-based themes (make sure you select the option to install to custom themes!)

Dream Portal Team
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: