This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » UriElement and SwitchLanguage
expandshrink

UriElement and SwitchLanguage

UriElement and SwitchLanguage

Wednesday 25 July 2012 5:21:59 pm - 1 reply

Hi,

I have 2 siteaccess :afbd_mbdp_en and afbd_mbdp_fr , my siteaccess is determine with :

MatchOrder=uri
URIMatchType=element
URIMatchElement=3

Everything is ok but when i use switchlanguage e.g : /afbd/mbdp/en/switchlanguage/to/afbd_mbdp_fr it's work but my url is /afbd_mbdp_fr and not /afbd/mbdp/fr.

How can i solve this problem ? Is it necessary to implement a new language switcher ?

Thanks

 

 

Thursday 23 August 2012 11:52:17 am

Yes, you will probably need to alter it.  I had to override kernel/private/classes/ezlanguageswitcher.php for http://philandteds.com, in order to get it spitting out the URL I wanted.  Happy to send this to you if you want to diff it against the original - just send me a private message.

The easiest way is to replace your siteaccess name with your SiteURL.

Cheers,
Geoff 

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from