Hi there MD peoples,
Great MM module... one enhancement you might consider is also adding CSS class name for the current active trail.
I've 'patched' the md_megamenu.utils.inc to include the following for is_active_link at line 553 -
elseif(strpos($current, $path)!== FALSE ){
$is_active = TRUE;
}
In this instance it will add the 'mm-active' class name for an active trail... while this suits my purposes, you might however consider add a new test routine to include the a specific active trail class name.
Cheers.
thank you, I applied the patch to version 7.x-1.11
there no active trail in my newer version. why?
I need an active trail on my menu ASAP - I bought this module for an urgent project. Is there any patch to get this to work?
Hi,
We have active trail already in module. You can please check in tag <li>: "awemenu-active-trail". There is color style for tag <a> also.
If it does not work, please send us your site admin account and FTP account in private comment so we can have a check.
Thank you.