Menu Content

Podpora

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

Subdomains
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.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.

TOPIC: Subdomains

Subdomains 12 years, 6 months ago #30010

Hello,

There is no explanation in the docs about subdomains. There is a paragraph about JoomFish, but I do not have that installed, instead there is a subdomain folder with language flags.

Since the multilingual part doesn't work, I was wondering what that was doing, and if it was responsible for my problem.

The problem is this :
The language switcher directs to the right home page, with menus translated in french, but the menus do not link to the french pages.
The topic has been locked.

Re: Subdomains 12 years, 6 months ago #30015

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
The subdomains may be used for assigning subdomains to individual components or menu items, eg. you have a Kunena forum component installed and you can assign a forum subdomain to it, so when you use the forum.domain.com URL, the forum page will be displayed.

For multilanguage to work correctly, make sure that you have System - Language filter plugin disabled. Then there will be the Language tab displayed in JoomSEF's Configuration where you can configure the multilanguage handling.
ARTIO Support Team
The topic has been locked.

Re: Subdomains 12 years, 6 months ago #30025

Yes, thanks Dajo.

When the language filter plugin is disabled the language folder does appear in JoomSEF.
Where can I get a detailed documentation of what all the language parameters do ?

Right now, the site stays in english all the time (in the main language selected actually).
I have tried various options, like setting fr.eyevisit4u.com and en.eyevisit4u.com as the domains for the two languages (french and english). This doesn't seem to have much impact on the URLs, but generates 500 errors when clicking on the flags.

Whatever I do, the main menu stays in English, even though I have 2 menus, one in french and one in English.
The topic has been locked.

Re: Subdomains 12 years, 6 months ago #30028

  • dajo
  • OFFLINE
  • Posts: 5069
I'm sorry, we haven't updated our documentation for JoomSEF 4 yet, but the configuration options are similar to the JoomFish settings from JoomSEF 3 - see www.artio.net/joomsef/documentation#d4e770

Make sure that you clear the cache and update or delete the already created SEF URLs, so they can be recreated correctly with the language codes.

The 500 error usually means some problem with server configuration. What is the URL displayed in your browser's address bar when you hit the 500 error?
ARTIO Support Team
The topic has been locked.

Re: Subdomains 12 years, 6 months ago #30042

The problem is with the menus (with all modules actually).

I have 2 menus, one in French, one in English, let's say Menu-FR and Menu-EN, associated with modules that are in FR and EN respectively.

The 'System - language filter' is disabled, and I use the Language switcher module to choose the language (with the flags).

JoomSEF 4.2.6 language parameters are :
- Language management : Yes
- Language integration : include in path
- Always use language : Yes
- Add language : Yes
- Get language : Yes
- Save to cookie : Yes
- Main language : FR
- Domains : empty
- Incorrect domain handlling : redirect to correct domain

This correctly adds the /fr and /en to the beginning of the URLs, so this seems to work fine.

But the menu shown is always the Menu-EN for some strange reason, even though both are set to appear on all pages...
The topic has been locked.

Re: Subdomains 12 years, 6 months ago #30043

The reason seems to be that the lang stays at EN.
Even when the site has the /fr in the URL, the lang stays en. The index.php file reads :
<html xmlns="www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >

But when I switch to french, it stays at EN. This is probably the issue.
The topic has been locked.
Přihlášení uživatele Prázdný