Page 1 of 1

Multi-language redirect to home page instead of current page

Posted: Tue Sep 30, 2008 12:51 am
by knuckle05
Hi All,

I have a CMSMS site with French and English.

Presently, when I click the language switcher, it simply reloads the current page in the chosen language, but I would like it to always redirect to the site's home page instead of the currently active page.

Can someone point me in the right direction?

This is my first post here, and I searched for an answer first. Hopefully this is the right section.

Regards.

knuckle05

Re: Multi-language redirect to home page instead of current page

Posted: Tue Sep 30, 2008 6:52 am
by alby
knuckle05 wrote: I have a CMSMS site with French and English.
You don't say what is your multilang system, MLE or language trees?

Alby

Re: Multi-language redirect to home page instead of current page

Posted: Tue Sep 30, 2008 12:10 pm
by knuckle05
I'm actually not even sure which type it is. I took over the project midway.

Anyhow, I solved the problem by simply removing the {lang} element from a Global Content Block and replaced it with hard coded values for English and French with href directing back to the home page with the applicable language modifier.

Thanks for your help.

Re: Multi-language redirect to home page instead of current page

Posted: Tue Sep 30, 2008 12:20 pm
by alby
knuckle05 wrote: Anyhow, I solved the problem by simply removing the {lang} element from a Global Content Block and replaced it with hard coded values for English and French with href directing back to the home page with the applicable language modifier.
ok, you have MLE version
move in appropriate forum

Alby

Re: Multi-language redirect to home page instead of current page

Posted: Thu Oct 02, 2008 3:19 pm
by alby
knuckle05 wrote: Anyhow, I solved the problem by simply removing the {lang} element from a Global Content Block and replaced it with hard coded values for English and French with href directing back to the home page with the applicable language modifier.
I am curiouse
Why you want jump to home and not reload page in other language?

Alby