Forum Support

Shape 5
March 28, 2024, 04:00:26 PM *
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: NoMooMenu = NoFunSefMenu  (Read 552 times)
ipokkel
Jr. Member
**
Offline Offline

Posts: 8



« on: December 16, 2009, 05:04:57 AM »

When setting joomla (1.5.15) to use SEF, mod_rewrite + sef suffix NoMooMenu sets the default link to its alias, e.g., home -> home.html. I want this to default to the livesite url like other menu systems does, e.g, http://www.mydomain.com/.

I've exhausted searching shape 5's forums and tried every trick I know (limited knowledge) to no avail.

Can someone please help me fix this without having to create a rewrite rule in the htaccess file.
Note: The site is on a local dev server so I cannot provide a link)
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: December 16, 2009, 08:49:11 AM »

Hello, please post a url of where this is occurring.
Logged

Mike Knott
------------
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
ipokkel
Jr. Member
**
Offline Offline

Posts: 8



« Reply #2 on: December 16, 2009, 08:52:04 AM »

Hi Mike, thanks for the reply, but it's on a local dev server?
Note: The site is on a local dev server so I cannot provide a link)
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: December 16, 2009, 09:02:02 AM »

If you edit the file s5_no_moo_menu.php look for:

$s5_check_itemid = strrpos($mitem->link,"frontpage");
 
       if ($s5_check_itemid > 1) {
          $mitem->link = "";
       }

It's about half way down, and replace it with:

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

$mitem->link = "";

}
Logged

Mike Knott
------------
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
ipokkel
Jr. Member
**
Offline Offline

Posts: 8



« Reply #4 on: December 16, 2009, 09:10:13 AM »

Tried it and it still loads the alias... is there anything else we can mod to get this to work?

BTW, thanks for the assistance... greatly appreciated  Grin
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #5 on: December 16, 2009, 09:13:59 AM »

Hello, I would need to be able to see it on a live server then so I can see the live code.
Logged

Mike Knott
------------
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
ipokkel
Jr. Member
**
Offline Offline

Posts: 8



« Reply #6 on: December 16, 2009, 09:26:30 AM »

Hi Mike,

ALL APOLOGIES!!!, since original post I switched from one of the nomoo menu's in emma smooth to the s5 suckerfish since I was picking up issues in IE8 with the menu battling to loading child items when running rokslideshow in top_1 module.

I have now modified the code in both s5_no_moo_menu.php and s5_suckerfish.php and it's working like a dream.

Thanks a million for sorting this out for me  Grin
Logged
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.