Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

frontpage shows wrong language,coming from subpage
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: frontpage shows wrong language,coming from subpage

frontpage shows wrong language,coming from subpage 14 years, 6 months ago #12936

Hi,

I use JoomSEF and Joomfish.

When I select "english" on frontpage, the language changes to english. Everything is fine.
All subpages show in english, too.
When I go back to the frontpage then, it shows in german again. That´s not fine.

What can I do in order to show the frontpage in the selected language, when coming from a subpage?

I ´don´t know if this is a problem of Joomsef or Joomfish?

The URL is www.novalja24.de
Last Edit: 14 years, 6 months ago by sambino.

Re:frontpage shows wrong language,coming from subpage 14 years, 6 months ago #12940

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

The problem is, that the Joomla's menu module shows the root URL of the web site for the frontpage, and if you use Deutsch as your main language in JoomSEF, then this root URL is used for the Deutsch language. The best solution would be a patch in menu module, so it would show the correct language URL for the frontpage link. We will probably also try to fix this somehow on JoomSEF level, but that will probably take some time.
The patch is easy: open the /modules/mod_mainmenu/helper.php file and around line 351 there should be the following code:
if ($tmp->home == 1) {
$tmp->url = JURI::base();

change it to this:
if ($tmp->home == 1) {
$tmp->url = str_replace('&', '&', $tmp->url);


Best regards,
ARTIO Support Team
ARTIO Support Team

Re:frontpage shows wrong language,coming from subpage 14 years, 6 months ago #12951

Works perfectly.
Thanks a lot !
  • Page:
  • 1
User Login Empty