Problems with link home in multilanguage site

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 24, 2013 9:38 pm
Reply with quote
Report this post
Hello, I'm from Italy and I have the problem in the title.

My multilanguage website is IT/UK/DE/FR.
My issue is with the navigation to "Home" when the visitor is using the IT/DE/FR version of the site.

To go back to the home page of the site the user has 3 navigation options:
1) Through the Main Menu, clicking on "Home"
2) Through the logo of website
3) Via the "Breadcrumbs" clicking on "Home"

If the user is using the UK language is all ok.
If the user is using the IT/DE/FR languages:
1) Through the Main Menu, clicking on "Home" the redirect is wrong to the home page in UK language
2) Through the logo of website, clicking on the logo the redirect is wrong to the home page in UK language
3) Via the "Breadcrumbs" clicking on "Home", clicking on "Home" the redirect is right to the home page in the correct language

I think can be a problem of the template... or not?
I done all as the guide (mainmenu with default page set for all language and with all the items for the languages and one menu with only home for each language).
Someone can help me?
I can send my admin login or ftp login to see in the website...
Thank you very much for all helps.

Here my technical info:
Multilanguage site in Joomla 2.5.11
SEF URLs: Yes
Use URL rewriting: No
Suffix URL: No
Template gk_creative 3.8.1
My website: http://www.lagodicomocase.com
Plugin System - Language Filter:
- Cambio lingua automatico YES
- Associazione menu YES
- Rimuovi il prefisso dalla lingua predefinita NO
User avatar
Fresh Boarder

teitbite
Sun May 26, 2013 6:53 am
Reply with quote
Report this post
Hi

I believe You have used an instruction from this article: https://www.gavick.com/documentation/qu ... oomla-1-7/

Untoftunately this is causing problems with frontpage almost exactly as described. I've found that te best solution is to use Falang to translate frontpage alone. Please try to use it and You'll see what I mean. It's pretty easy to operate.
User avatar
Moderator

GK User
Sun May 26, 2013 9:34 am
Reply with quote
Report this post
Yes, I used the documentation you linked.
But the problem is only with IE8 (I don't know with the version 9), with FireFox 21 is all ok.
I prefer not install Falang... if you have others ideas please post it.
Thanks.
User avatar
Fresh Boarder

GK User
Sun May 26, 2013 10:20 am
Reply with quote
Report this post
The problem is also with IE9.
User avatar
Fresh Boarder

teitbite
Mon May 27, 2013 9:04 am
Reply with quote
Report this post
Hi

Ok. It's officially the weirdest IE issue I've ever seen. Normally problems are between CSS and not with links where joomla is responsible for creation of them. Sorry but I do not see other option than to use Falang and set a different link for each language, but this would fix menu Home not the logo. For logo I would propose to make a small script checking current language and setting the link according to that.

To make it please edit /layouts/blocks/logo.php and replace line 20 :

Code: Select all
     <a href="./" id="gkLogo" class="cssLogo"><?php echo $this->API->get('logo_text', ''); ?></a>


to

Code: Select all
     <a href="index.php/<?php echo $this->lang; ?>/" id="gkLogo" class="cssLogo"><?php echo $this->API->get('logo_text', ''); ?></a>
User avatar
Moderator


cron