Shape 5

Joomla Templates => Basics - Club => : mowlman May 20, 2011, 08:06:00 AM



: Home Link in Top Menu changes
: mowlman May 20, 2011, 08:06:00 AM
Home Link in Top Menu changes to whatever page to are currently on.

The Left Menu is fine, just the Top Menu Home Link.

http://tofino.directrouter.com/~epcohard/ (http://tofino.directrouter.com/~epcohard/)

I am aware of the s5_no_moo_menu.php fix that I've seen in other posts, but that only seems to effect the Home link in the Left menu.


: Re: Home Link in Top Menu changes
: mikek May 20, 2011, 08:11:49 AM
Hello,

Please edit s5_suckerfish.php and around line 115 you'll find:

switch ($mitem->browserNav) {
      case 1:
    if ($mitem->cnt > 0) {


Just above that code add the following:


if ($mitem->home == 1) {

$mitem->link = "";

}


: Re: Home Link in Top Menu changes
: mowlman June 03, 2011, 08:24:23 AM
The code you suggest was already there, see attached image.
I even hard coded my home url.  ONe thing I noticed is when changing the s5_no_moo_menu.php, it only effected the Home link within the LEFT menu position, the Top Menu remained unchanged.

The behavior is that the Home menu link in the Top menu only takes on the URL of the current page.


: Re: Home Link in Top Menu changes
: mowlman June 03, 2011, 11:06:57 AM
Not a code fix, but I was able to get the home menu link to behave properly by going within the Basics template settings and
change Menu Script radio   from using jQuery  to using S5 Effects.