Multi-language redirect to home page instead of current page

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
knuckle05
New Member
New Member
Posts: 2
Joined: Mon Feb 18, 2008 3:54 am

Multi-language redirect to home page instead of current page

Post 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
alby

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

Post 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
knuckle05
New Member
New Member
Posts: 2
Joined: Mon Feb 18, 2008 3:54 am

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

Post 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.
alby

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

Post 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
alby

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

Post 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
Locked

Return to “[locked] CMSMS MLE fork”