Monday 11 September 2006 3:28:20 pm - 4 replies
Hi,
I set up a multilingual shop site.
The behaviour of the basket is strange: For every language (siteaccess) the content of the basket is different. When putting something into the basket on the english siteaccess, the german basket does not show it and vice versa...
Below I show my settings/override/site.ini.append.php as well as my site.ini.append.php for the german siteaccess (example). I assume the solution must be somewhere inside these files, but I just don't get it...
Thanks for any help!
override/site.ini.append.php [ExtensionSettings] ActiveExtensions[]=ezpaypal ActiveExtensions[]=ezdhtml [Session] SessionNameHandler=custom [SiteSettings] DefaultAccess=en SiteList[]=en SiteList[]=de SiteList[]=fr [SiteAccessSettings] MatchOrder=uri URIMatchType=element URIMatchElement=1 URIMatchRegexp=^/([^/]+)/ URIMatchRegexpItem=1 CheckValidity=false AvailableSiteAccessList[]=en AvailableSiteAccessList[]=de AvailableSiteAccessList[]=fr AvailableSiteAccessList[]=en_admin HostMatchMapItems[] [RegionalSettings] TextTranslation=enabled ShowUntranslatedObjects=enabled [ContentSettings] TranslationList=eng-GB;ger-DE;fre-FR [MailSettings] ...
<siteaccess>/sit.ini.append.php [DatabaseSettings] ... [InformationCollectionSettings] EmailReceiver= [SiteSettings] SiteName=My Site SiteURL=localhost/cms/index.php/de LoginPage=embedded [UserSettings] RegistrationEmail= [SiteAccessSettings] RequireUserLogin=false RelatedSiteAccessList[]=en RelatedSiteAccessList[]=de RelatedSiteAccessList[]=fr RelatedSiteAccessList[]=en_admin ShowHiddenNodes=false [DesignSettings] SiteDesign=shop_site AdditionalSiteDesignList[]=base [RegionalSettings] Locale=ger-DE SiteLanguageList[] SiteLanguageList[]=ger-DE SiteLanguageList[]=eng-GB SiteLanguageList[]=fre-FR [FileSettings] VarDir=var/de [ContentSettings] CachedViewPreferences[full]=user_preferred_currency='';user_preferred_country TranslationList= [MailSettings] ...
Modified on Monday 11 September 2006 3:30:06 pm by Ulrich L.
Monday 11 September 2006 3:37:28 pm
Hello Ulrich
You're currently using different sessions for the different site accesses. I think you have to use the same session because there's a session id field in the ezbasket db table.
Add this to override/site.ini.append.php:
[Session] SessionNamePerSiteAccess=disabled
Does this solve the problem?
Sunday 08 April 2007 9:11:37 pm
Hi,
I've come across the same article that Ulrich L. did.
this one: http://ez.no/community/articles/n...aying_multi_lingual_content#comments
It's a pretty good article and got my site showing the content in different languages pretty easily and quickly.
but I've come across 1 problem. in that same article the author mentions:
If you get an "access denied" error when viewing your pages, change the site access permissions through roles and policies and give the anonymous user permissions to your new siteaccesses (en and gr).
I've edited the policies to allow anonymous user to view all the siteaccesses but no luck at all.. it's prompting the anonymous user to logon to see any content at all on the site. as soon as you logon you can view all the content with all translations but sadly this is not a solution as the current site i'm building does not have a logon function...
has anyone come across to something similar when using various siteaccesses??
did i something anything wrong?
thanks.
Fabricio
You must be logged in to post messages in this topic!