Tuesday 15 December 2009 5:24:50 am
Hi everybody. Going in circles. After trying with different solutions in this forums, still the switch between languages don't work. Using eZPublish 4.2.0 This is my (complete damaged after editing too much) override site.ini:
[SiteSettings]
DefaultAccess=esl
SiteList[]
SiteList[]=esl
SiteList[]=eng
SiteList[]=ezwebmin_site_clean_user
SiteList[]=ezwebmin_site_clean_admin
RootNodeDepth=1
SiteName=Accedite
MetaDataArray[author]=XXXXX
MetaDataArray[copyright]=XXXX
MetaDataArray[description]=XXXXXX
MetaDataArray[keywords]=XXXXXX
IndexPage=/content/view/full/2/
DefaultPage=/content/view/full/2
AdditionalLoginFormActionURL=
GMapsKey=XxXxXxX
/* ... */
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=esl
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=ezwebin_site_clean_user
AvailableSiteAccessList[]=ezwebin_site_clean_admin
MatchOrder=host
HostMatchMapItems[]=administrador.site.edited;ezwebin_site_clean_admin
#HostMatchMapItems[]=m.site.edited;ezwebin_site_clean_user
HostMatchMapItems[]=esl.1;esl
HostMatchMapItems[]=eng.1;eng
RelatedSiteAccessList[]
RelatedSiteAccessList[]=ezwebin_site_clean_user
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=ezwebin_site_clean_admin
/* ... */
[RegionalSettings]
TranslationSA[]
TranslationSA[esl]=Esl
TranslationSA[eng]=Eng
/* ... */ In site.ini.append.php eng siteacces:
[SiteSettings]
SiteName=Accedite
SiteURL=eng.site.edited
LoginPage=embedded
AdditionalLoginFormActionURL=http://administrador.site.edited/user/login
GMapsKey=XXXXXXXXXX
/* ... */
[SiteAccessSettings]
RequireUserLogin=true
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=ezwebin_site_clean_user
RelatedSiteAccessList[]=ezwebin_site_clean_admin
ShowHiddenNodes=false
/* ... */
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-GB
TextTranslation=enabled
/* ... */
[ContentSettings]
TranslationList=esl-ES
/* ... */ In site.ini.append.php eng siteacces:
[SiteSettings]
SiteName=Accedite
SiteURL=esl.site.edited
LoginPage=embedded
AdditionalLoginFormActionURL=http://administrador.site.edited/user/login
GMapsKey=XXXXX
/* ... */
[SiteAccessSettings]
RequireUserLogin=true
RelatedSiteAccessList[]
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=ezwebin_site_clean_user
RelatedSiteAccessList[]=ezwebin_site_clean_admin
ShowHiddenNodes=false
/* ... */
[RegionalSettings]
Locale=esl-ES
ContentObjectLocale=esl-ES
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=esl-ES
TextTranslation=enabled
/* ... */
[ContentSettings]
TranslationList=eng-GB
/* ... */ Now the problem: - Visit www.site.edited and visualize esl content (that's right). - Visit eng.site.edited and visualize esl content (that is not right). - Visit esl.site.edited and visualize esl content (that's right). Click on >>Esl or >>Eng doesn't change anything after reload the page. The caches are disabled at all. ...
.·. .·. .·. .·. .·. .·. .·.
http://www.softwarelibre.com.ve/
|