Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Joomla fish - home
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Joomla fish - home

Joomla fish - home 14 years, 8 months ago #11478

Almost everything functions on my page www.neesconsult.de/ .
If i select english, the english page is shown.
The language is kept, when I select another menu or content. Only when I select the "home"-page, the german page comes back. This occures, when I change the language on a page different from the home-page.

What can I do?
The topic has been locked.

Re:Joomla fish - home 14 years, 8 months ago #11577

  • jaku
Could you please send a screenshot of your JoomFish related settings in JoomSEF and also tell if JfRouter plugin is active or not?

I assue home for german is the main domain, what is the home of the english at your site? Is it /en?
If so, then it is logical that the language switches to DE when visiting home as each page in each language should have just 1 URL. So you cannot use the one URL - just the domain name both for English and German.
The topic has been locked.

Re:Joomla fish - home 14 years, 8 months ago #11600

Yes the home for german is the main domain, and the home of the english at my site is it /en.

But what can I change? I do not want to have two domains,
Attachments:
The topic has been locked.

Re:Joomla fish - home 14 years, 8 months ago #11601

  • jaku
Hello,
well I am not sure how you go to "home" page, but mostly it is enough to adjust the template code so that when you have DE active and you click home, you will go to main domain / and when you have EN active, you will go to /en.

This however needs to be ensured by correctly created template, which means you cannot using simply "/" as the link target but you need to operate with Joomla's site base variable.
The topic has been locked.

Re:Joomla fish - home 14 years, 8 months ago #11602

in the configuration my homepage is neesconsult.de.
But what should I change in the template to get the right behavior?
The topic has been locked.

Re:Joomla fish - home 14 years, 8 months ago #11607

  • jaku
You could use code similar to this,
1. first, get the default menu item
$menu =& JSite::getMenu();
$homemenu = $menu->getDefault();
 

2. use the default menu value
<a href=" .. 
echo JRoute::_($homemenu->link);
...
Last Edit: 14 years, 8 months ago by .
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný