Shape 5

Joomla Templates => Pantheon - Club => : tgod78 July 30, 2013, 12:50:10 PM



: Menu Item Help
: tgod78 July 30, 2013, 12:50:10 PM
Okay. After several days of messing with this. Trying alias's and everything else I can think of, I can't fix it. Maybe someone here can help.

Home under Main Menu links to: index.php?option=com_content&view=featured

The problem with that is "featured" is whatever page I am on. I can't make this an external URL because it must be a component. I am worn out. I found this code in the main page template.


$s5_frontpage = "yes";
$s5_current_page = "";
if (JRequest::getVar('view') == "featured") {
  $s5_current_page = "frontpage";
}
if (JRequest::getVar('view') != "featured") {
  $s5_current_page = "not_frontpage";
}
if ($s5_show_frontpage == "no" && $s5_current_page == "frontpage") {
  $s5_frontpage = "no";
}


But, I am not proficient with CSS at all. There has to be someway for me to make this home menu button return to index.php.

If I create a second menu item as an alias to the first it does precisely what I want it to. Then I end up with two Home Menu items. It's not making sense to me my pointing this second Home menu item to the first works, but the first doesn't work on it's own.

Suggestions? Am I just being an idiot and missing something obvious?


: Re: Menu Item Help
: tgod78 July 30, 2013, 02:24:38 PM
Nevermind. After 4 days I finally figured it out. I had to create an altogether separate menu. Put the home in that menu, then create an alias for home published on the main menu.


: Re: Menu Item Help
: mikenicoll July 30, 2013, 10:42:47 PM
Alright,

Glad you got it sorted.

-Mike