Extended Menu Joomla hack for bad homepage alias
The Extended Menu module for Joomla 1.5 is both really useful and really popular for creating dropdown CSS menus. But it has a problem if you have a homepage link as a menu item.
Extended Menu always adds the homepage alias as a suffix rather than linking directly to your root. ie http://yourdomain.com/home instead of http://yourdomain.com.
(The standard Joomla Main Menu module doesn’t have this problem.)
Here is the hack to solve it.
1. Open /modules/mod_exmenu/exmenu/view/menuview.class.php in your editor
2. Find
default: // formerly case 2
// open in parent window
3. Append after those lines
if($menuNode->link == "http://yourdomain.com/home") {
$menuNode->link = "http://yourdomain.com/";
}
Voila! Works for any troublesome link. Sent to me by Richard Biddle.