Elxis CMS Forum

Community => Elxis 2008.x Olympus (dev) => Topic started by: datahell on July 30, 2007, 22:30:05

Title: Smart language switch
Post by: datahell on July 30, 2007, 22:30:05
Elxis 2008 allows you to switch language and stay in the same page. This can be done under some conditions which are:

- Have the "Smart switch" option enabled in the language module.
- Have mosConfig_sef = 0 (non-SEF URLs) or 2 (Elxis SEO pro). It does not work with old standard SEF.
- The current Itemid (selected menu item) is available for all languages or for the language you wish to switch to.

If the above conditions do not fullfiled then you get redirected to the homepage as usual, as the page you currently see is not available for the new language.
Title: Re: Smart language switch
Post by: CREATIVE Options on July 30, 2007, 22:36:06
That is great John! you Elxis Dev. team keep surprising me.

Elxis FAN.
Title: Re: Smart language switch
Post by: cbal on August 25, 2007, 05:33:01
Will you develop the language module so that only the flags may appear in the website?
Title: Re: Smart language switch
Post by: Ivan Trebješanin on August 25, 2007, 10:42:56
You can do that even now. The trigger for language is the variable $myLang, so you just put some flags on your site and make flags post the value for each flag. Eg: English flag --> index.php?mylang=english ... get it? ;)
Title: Re: Smart language switch
Post by: datahell on August 25, 2007, 13:06:35
With Elxis 2006.x generation you can not change language and stay in the same page unless you modify module language or you have ALL items available for ALL languages. If for example you read an article that is for english language and you switch language to french then this article wont be available for french and Elxis will display you an error message (You are not authorized to....). Please wait for the 2008.0 version inorder to use this feature.
Title: Re: Smart language switch
Post by: artman on September 07, 2007, 12:50:04
Very nice... waiting...
Title: Re: Smart language switch
Post by: datahell on September 07, 2007, 13:55:36
We have completed about 90-95% of the new Elxis. Elxis 2008 will be released according to the initial schedule.

Elxis 2008 release dates
- September 31, 2007: Elxis 2008 development stop.
- October 2007: Elxis 2008.0 will be only available to 3rd party developers, GO UP Inc affiliates and customers, and Elxis Community members.
Notice: This 1 month of close distribution of Elxis 2008 may be expanded to 2 months.
- November/ December 2007: Public release.
Title: Re: Smart language switch
Post by: Farhad Sakhaei on September 14, 2007, 13:03:42
hi john , thank you for your trouble , could you please take a look to this my post ...
thanx
https://forum.elxis.org/index.php?topic=1222.msg7478#msg7478