Forum Support

Shape 5
March 29, 2024, 03:02:04 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Menu Item Help  (Read 729 times)
tgod78
Jr. Member
**
Offline Offline

Posts: 15



« on: 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?
Logged
tgod78
Jr. Member
**
Offline Offline

Posts: 15



« Reply #1 on: 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.
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #2 on: July 30, 2013, 10:42:47 PM »

Alright,

Glad you got it sorted.

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.