Problems with sh404sef

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Tue Feb 21, 2012 1:44 pm
I'm using joomla 2.5 and sh404sef. My site web is multilingual.

The problem that I have is when I click in the home link, always returns to the default language of the site web.

I had the same problem with another site web and with joomla 1.5, and the solution was to change in the file: templates/your-template/libs/menu/base.class.php

$tmp->url = JURI::base();

for

$tmp->url = str_replace(array($tmp->route.'/', $tmp->route), '', JRoute::_( $tmp->url ));

Any solution for the template using joomla 2.5?

Thanks
User avatar
Fresh Boarder

GK User
Wed Feb 22, 2012 12:00 am
The 'Home' is set to both languages or only to one ?
User avatar
Platinum Boarder

GK User
Wed Feb 22, 2012 8:32 am
The home is set in the two languages. The site web has spanish default language. You can change to english and use the web. But the problem is when you click home link and it changes to the default language.

you can see it at: www.mcr.giralsint.es

I don't know what to do :(
User avatar
Fresh Boarder

GK User
Thu Feb 23, 2012 11:22 am
Solved!

I found the line $tmp->url = JURI::base(); and I replaced for $tmp->url = str_replace(array($tmp->route.'/', $tmp->route), '', JRoute::_( $tmp->url )); and now wokrs fine

Thanks
User avatar
Fresh Boarder

GK User
Wed Mar 21, 2012 2:06 pm
indu2069 wrote:Solved!

I found the line $tmp->url = JURI::base(); and I replaced for $tmp->url = str_replace(array($tmp->route.'/', $tmp->route), '', JRoute::_( $tmp->url )); and now wokrs fine

Thanks

Great! This works for me too.. I work a lot of hours to get a fully multilanguage menu running :-)
Now it works!
https://www.gavick.com/forums/140/multi ... 13901.html
User avatar
Expert Boarder


cron